EapHostPeerMethodResult structure (eaphostpeertypes.h)
The EapHostPeerMethodResult structure contains the result data generated by EAPHost during an authentication session that is then passed to an EAP method.
Syntax
typedef struct tagEapHostPeerMethodResult {
BOOL fIsSuccess;
UINT32 dwFailureReasonCode;
BOOL fSaveConnectionData;
UINT32 dwSizeofConnectionData;
#if ...
BYTE *pConnectionData;
#else
BYTE *pConnectionData;
#endif
BOOL fSaveUserData;
UINT32 dwSizeofUserData;
#if ...
BYTE *pUserData;
#else
BYTE *pUserData;
#endif
EAP_ATTRIBUTES *pAttribArray;
ISOLATION_STATE isolationState;
EAP_METHOD_INFO *pEapMethodInfo;
EAP_ERROR *pEapError;
} EapHostPeerMethodResult;
Members
fIsSuccess
If TRUE, the supplicant was successfully authenticated; if FALSE, it was not.
dwFailureReasonCode
Contains a reason code if the supplicant could not be authenticated.
fSaveConnectionData
If TRUE, the connection data specified in pConnectionData data must be persisted to disk; otherwise, it does not need to be saved.
dwSizeofConnectionData
The size, in bytes, of pConnectionData.
pConnectionData
A pointer to a byte buffer that contains information on the connection over which the EAP authentication session is held.
fSaveUserData
If TRUE, the user data specified in pUserData data must be persisted to disk; otherwise, it does not need to be saved.
dwSizeofUserData
The size, in bytes, of pUserData.
pUserData
A pointer to a byte buffer that contains information on the supplicant user that requested the EAP authentication session.
pAttribArray
Pointer to an EAP_ATTRIBUTES array structure that contains attributes of the authentication session.
isolationState
An ISOLATION_STATE link value that indicates the isolation state of the authentication session connection.
pEapMethodInfo
A pointer to an EAP_METHOD_INFO structure that contains information about the EAP method that performed authentication for the supplicant.
pEapError
A pointer to the EAP_ERROR structure that contains any errors raised by EAPHost during the execution of this function call. After consuming the error data, this memory must be freed by calling EapHostPeerFreeEapError.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | eaphostpeertypes.h |