IOpenIdConnectEvents.AuthorizationCodeReceived 方法

定义

如果协议消息中存在授权代码,则在执行安全令牌验证后将调用此项。

public:
 System::Threading::Tasks::Task ^ AuthorizationCodeReceived(Microsoft::AspNetCore::Authentication::OpenIdConnect::AuthorizationCodeReceivedContext ^ context);
public System.Threading.Tasks.Task AuthorizationCodeReceived (Microsoft.AspNetCore.Authentication.OpenIdConnect.AuthorizationCodeReceivedContext context);
abstract member AuthorizationCodeReceived : Microsoft.AspNetCore.Authentication.OpenIdConnect.AuthorizationCodeReceivedContext -> System.Threading.Tasks.Task
Public Function AuthorizationCodeReceived (context As AuthorizationCodeReceivedContext) As Task

参数

返回

适用于