Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
914 B

  1. #ifndef _DIGESTPROVIDER_HXX_
  2. #define _DIGESTPROVIDER_HXX_
  3. class DIGEST_AUTH_PROVIDER : public SSPI_AUTH_PROVIDER
  4. {
  5. public:
  6. DIGEST_AUTH_PROVIDER(
  7. DWORD _dwAuthType
  8. ) : SSPI_AUTH_PROVIDER( _dwAuthType )
  9. {
  10. }
  11. virtual ~DIGEST_AUTH_PROVIDER()
  12. {
  13. }
  14. HRESULT
  15. Initialize(
  16. DWORD dwInternalId
  17. );
  18. VOID
  19. Terminate(
  20. VOID
  21. );
  22. HRESULT
  23. DoesApply(
  24. W3_MAIN_CONTEXT * pMainContext,
  25. BOOL * pfApplies
  26. );
  27. HRESULT
  28. DoAuthenticate(
  29. W3_MAIN_CONTEXT * pMainContext,
  30. BOOL * pfFilterFinished
  31. );
  32. HRESULT
  33. OnAccessDenied(
  34. W3_MAIN_CONTEXT * pMainContext
  35. );
  36. HRESULT
  37. SetDigestHeader(
  38. IN W3_MAIN_CONTEXT * pMainContext
  39. );
  40. };
  41. #endif