共用方式為


OpenIdConnectEvents.AuthorizationCodeReceived 方法

定義

如果通訊協定訊息中有授權碼,則叫用 。

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

參數

傳回

實作

適用於