SOLE_AUTHENTICATION_INFO

[This is preliminary documentation and subject to change.]

Identifies an authentication service, authorization service, and the authentication information for the specified authentication service. The SOLE_AUTHENTICATION_LIST structure, which is pointed to by the pAuthInfo parameter of CoInitializeSecurity, contains an array of SOLE_AUTHENTICATION_INFO structures.

typedef struct  tagSOLE_AUTHENTICATION_INFO {
        DWORD dwAuthnSvc;
        DWORD dwAuthzSvc;
        void *pAuthInfo;
    } SOLE_AUTHENTICATION_INFO;
 

Members

dwAuthnSvc
The authentication service. It may contain a single value taken from the list of RPC_C_AUTHN_xxx constants defined in rpcdce.h.
dwAuthzSvc
The authorization service. It may contain a single value taken from the list of RPC_C_AUTHZ_xxx constants defined in rpcdce.h.
pAuthInfo
A pointer to the authentication information, whose type is specific to the authentication service identified by dwAuthnSvc. For SSL (RPC_C_AUTHN_GSS_SCHANNEL), this member points to a private certificate that will be used for authentication in the form of a CAPI handle. For NTLMSSP and Kerberos, this member points to a SEC_WINNT_AUTH_IDENTITY_W (or SEC_WINNT_AUTH_IDENTITY_EXW) structure containing the user name and password. For authentication services that DCOM doesn't know about, pAuthInfo must be set to NULL. For more information, see COM and Security Packages.

QuickInfo

  Windows NT: Use version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in objidl.h.

See Also

RPC_C_AUTHN_xxx, RPC_C_AUTHZ_xxx, CoInitializeSecurity