OpenIdConnectEvents.OnRedirectToIdentityProvider Property

Definition

Invoked before redirecting to the identity provider to authenticate. This can be used to set ProtocolMessage.State that will be persisted through the authentication process. The ProtocolMessage can also be used to add or customize parameters sent to the identity provider.

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

Property Value

Applies to