IOpenIdConnectEvents.AuthorizationCodeReceived 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
如果协议消息中存在授权代码,则在执行安全令牌验证后将调用此项。
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
参数
- context
- AuthorizationCodeReceivedContext