IWSDHttpAuthParameters::GetAuthType method (wsdbase.h)

The GetAuthType method retrieves the HTTP authentication scheme used during the authentication of the client.

Syntax

HRESULT GetAuthType(
  PWSD_SECURITY_HTTP_AUTH_SCHEMES pAuthType
);

Parameters

pAuthType

Pointer to an HTTP_REQUEST_AUTH_TYPE value that indicates the HTTP authentication scheme used during authentication. Possible values include:

Value Meaning
WSD_SECURITY_HTTP_AUTH_SCHEME_NEGOTIATE
0x1
Negotiate authentication.
WSD_SECURITY_HTTP_AUTH_SCHEME_NTLM
0x2
NTLM authentication.

Return value

This method returns S_OK on success.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header wsdbase.h (include Wsdapi.h)

See also

IWSDHttpAuthParameters