Share via


EapPeerMethodResult (Compact 7)

3/12/2014

Contains result data generated by an EAP method during authentication.

Syntax

typedef struct tagEapPeerMethodResult {
  BOOL fIsSuccess;
  DWORD dwFailureReasonCode;
  BOOL fSaveConnectionData;
  DWORD dwSizeOfConnectionData;
  BYTE* pConnectionData;
  BOOL fSaveUserData;
  DWORD dwSizeofUserData;
  BYTE* pUserData;
  EAP_ATTRIBUTES* pAttribArray;
  EAP_ERROR* pEapError;
} EapPeerMethodResult;

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 have 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. The buffer can contain no more than dwSizeOfConnectionData elements.
  • fSaveUserData
    If TRUE, the user data specified in pUserData data must be persisted to disk; otherwise, it does not have to be saved.
  • dwSizeofUserData
    The size, in bytes, of dwSizeOfUserData.
  • pUserData
    A pointer to a byte buffer that contains information on the supplicant user who requested the EAP authentication session.The buffer can contain no more than dwSizeofUserData elements.
  • pAttribArray
    A pointer to an EAP_ATTRIBUTES array structure that contains the EAP attributes returned by the authentication session.
  • pEapError
    A pointer to the EAP_ERROR structure that contains any errors raised during the execution of this function call. After using the error data, this memory must be freed by passing a pointer to EapPeerFreeErrorMemory.

See Also

Reference

EAPHost Peer Method Structures