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