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)

属性值

适用于