共用方式為


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

參數

傳回

適用於