EapCredential structure (eaptypes.h)

The EapCredential structure contains information about the credentials type and the appropriate credentials. This is passed as an input to the EapPeerGetConfigBlobAndUserBlob API.

Syntax

typedef struct _EapCredential {
  EapCredentialType     credType;
#if ...
  EapCredentialTypeData credData;
#else
  EapCredentialTypeData credData;
#endif
} EapCredential;

Members

credType

The EapCredentialType for the credentials passed in the credentials parameter.

credData

Structure that holds the pointer to the credential data.

If credType is set to EAP_EMPTY_CREDENTIAL, specify a NULL value for credentials.

If credType is set to EAP_USERNAME_PASSWORD_CREDENTIAL, use an EapUsernamePasswordCredential structure to specify the username and password to use for the credentials.

If credType is set to EAP_WINLOGON_CREDENTIAL, specify a NULL value for credentials.

If credType is set to EAP_CERTIFICATE_CREDENTIAL, use an EapCertificateCredential structure for credentials to specify the certificate hash and a password (in case the certificate is password protected).

If credType is set to EAP_SIM_CREDENTIAL, use an EapSimCredential structure for credentials to specify the ICC-ID of the selected SIM.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header eaptypes.h

See also

EapCertificateCredential

EapCredentialType

EapPeerGetConfigBlobAndUserBlob

EapSimCredential

EapUsernamePasswordCredential