OAuthEvents.RedirectToAuthorizationEndpoint Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RedirectToAuthorizationEndpoint(OAuthRedirectToAuthorizationContext) |
Called when a Challenge causes a redirect to authorize endpoint in the OAuth middleware. |
RedirectToAuthorizationEndpoint(RedirectContext<OAuthOptions>) |
Called when a Challenge causes a redirect to authorize endpoint in the OAuth handler. |
RedirectToAuthorizationEndpoint(OAuthRedirectToAuthorizationContext)
Called when a Challenge causes a redirect to authorize endpoint in the OAuth middleware.
public:
virtual System::Threading::Tasks::Task ^ RedirectToAuthorizationEndpoint(Microsoft::AspNetCore::Authentication::OAuth::OAuthRedirectToAuthorizationContext ^ context);
public virtual System.Threading.Tasks.Task RedirectToAuthorizationEndpoint (Microsoft.AspNetCore.Authentication.OAuth.OAuthRedirectToAuthorizationContext context);
abstract member RedirectToAuthorizationEndpoint : Microsoft.AspNetCore.Authentication.OAuth.OAuthRedirectToAuthorizationContext -> System.Threading.Tasks.Task
override this.RedirectToAuthorizationEndpoint : Microsoft.AspNetCore.Authentication.OAuth.OAuthRedirectToAuthorizationContext -> System.Threading.Tasks.Task
Public Overridable Function RedirectToAuthorizationEndpoint (context As OAuthRedirectToAuthorizationContext) As Task
Parameters
Contains redirect URI and AuthenticationProperties of the challenge.
Returns
Implements
Applies to
RedirectToAuthorizationEndpoint(RedirectContext<OAuthOptions>)
- Source:
- OAuthEvents.cs
- Source:
- OAuthEvents.cs
- Source:
- OAuthEvents.cs
Called when a Challenge causes a redirect to authorize endpoint in the OAuth handler.
public:
virtual System::Threading::Tasks::Task ^ RedirectToAuthorizationEndpoint(Microsoft::AspNetCore::Authentication::RedirectContext<Microsoft::AspNetCore::Authentication::OAuth::OAuthOptions ^> ^ context);
public virtual System.Threading.Tasks.Task RedirectToAuthorizationEndpoint (Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions> context);
abstract member RedirectToAuthorizationEndpoint : Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions> -> System.Threading.Tasks.Task
override this.RedirectToAuthorizationEndpoint : Microsoft.AspNetCore.Authentication.RedirectContext<Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions> -> System.Threading.Tasks.Task
Public Overridable Function RedirectToAuthorizationEndpoint (context As RedirectContext(Of OAuthOptions)) As Task
Parameters
- context
- RedirectContext<OAuthOptions>
Contains redirect URI and AuthenticationProperties of the challenge.