共用方式為


OpenIdConnectEvents.OnAuthorizationCodeReceived 屬性

定義

如果通訊協定訊息中有授權碼,則在安全性權杖驗證之後叫用。

public:
 property Func<Microsoft::AspNetCore::Authentication::OpenIdConnect::AuthorizationCodeReceivedContext ^, System::Threading::Tasks::Task ^> ^ OnAuthorizationCodeReceived { Func<Microsoft::AspNetCore::Authentication::OpenIdConnect::AuthorizationCodeReceivedContext ^, System::Threading::Tasks::Task ^> ^ get(); void set(Func<Microsoft::AspNetCore::Authentication::OpenIdConnect::AuthorizationCodeReceivedContext ^, System::Threading::Tasks::Task ^> ^ value); };
public Func<Microsoft.AspNetCore.Authentication.OpenIdConnect.AuthorizationCodeReceivedContext,System.Threading.Tasks.Task> OnAuthorizationCodeReceived { get; set; }
member this.OnAuthorizationCodeReceived : Func<Microsoft.AspNetCore.Authentication.OpenIdConnect.AuthorizationCodeReceivedContext, System.Threading.Tasks.Task> with get, set
Public Property OnAuthorizationCodeReceived As Func(Of AuthorizationCodeReceivedContext, Task)

屬性值

適用於