HTTP_AUTH_STATUS enumeration (http.h)
The HTTP_AUTH_STATUS enumeration defines the authentication state of a request.
This enumeration is used in the HTTP_REQUEST_AUTH_INFO structure.
Syntax
typedef enum _HTTP_AUTH_STATUS {
HttpAuthStatusSuccess,
HttpAuthStatusNotAuthenticated,
HttpAuthStatusFailure
} HTTP_AUTH_STATUS, *PHTTP_AUTH_STATUS;
Constants
HttpAuthStatusSuccess The request was successfully authenticated for the authentication type indicated in the HTTP_REQUEST_AUTH_INFO structure. |
HttpAuthStatusNotAuthenticated Authentication was configured on the URL group for this request, however, the HTTP Server API did not handle the authentication. This could be because of one of the following reasons:
The application should either proceed with its own authentication or respond with the initial 401 challenge containing the desired set of authentication schemes. |
HttpAuthStatusFailure Authentication for the authentication type listed in the HTTP_REQUEST_AUTH_INFO structure failed, possibly due to one of the following reasons:
|
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | http.h |