大网数据广告活动
网络与域名解析

Peer Method API Call Sequence

· 52CE 我爱测

Learn about the peer method API call sequence. See a list that demonstrates the sequence of calls made by an EAPHost on an EAP peer method.

This topic provides the specific call sequence for the peer method API. During a typical EAP authentication session EAPHost makes a number of calls on EAP methods to implement the EAPHost peer method API.

The following list demonstrates the sequence of calls made by EAPHost on an EAP peer method.

  • Loads the EAP peer method DLL used for the authentication.
  • Calls EapPeerGetInfo on the method to obtain a list of pointers to functions implemented on the DLL. Subsequent function calls by the EAPHost peer (client) are assumed to be implemented on the DLL.
  • Calls EapPeerInitialize to instruct the EAP Method Library to prepare for at least one authentication session using this peer method.
  • Calls EapPeerBeginSession to establish a unique authentication session.
  • Calls EapPeerGetIdentity to obtain the identity to use for authentication. If the identity is not available, or if the user must provide additional information, EAPHost calls EapPeerGetUIContext. This function obtains the context information for the user interface dialog box that will be raised on the supplicant. After the user has submitted the identity information, the user identity is set with a call to EapPeerSetUIContext, and obtained by a call to EapPeerGetIdentity.
  • Repeats the following steps until EapPeerProcessRequestPacket indicates that an authentication result is available.
  • When the authenticator sends an action code that indicates authentication is complete, EAPHost calls EapPeerGetResult and obtains the results of the authentication.
  • Calls EapPeerEndSession to end the authentication session.
  • Calls EapPeerShutdown to unload the peer method DLL.
  • Unloads the EAP Method Library.

Related topics

Supplicant API Call Sequence

Authenticator Method API Call Sequence

EAPHost Call Sequences

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。