OAuthRedirectToAuthorizationContext Constructor

Definition

Creates a new context object.

public:
 OAuthRedirectToAuthorizationContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Builder::OAuthOptions ^ options, Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties, System::String ^ redirectUri);
public OAuthRedirectToAuthorizationContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Builder.OAuthOptions options, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties, string redirectUri);
new Microsoft.AspNetCore.Authentication.OAuth.OAuthRedirectToAuthorizationContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Builder.OAuthOptions * Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties * string -> Microsoft.AspNetCore.Authentication.OAuth.OAuthRedirectToAuthorizationContext
Public Sub New (context As HttpContext, options As OAuthOptions, properties As AuthenticationProperties, redirectUri As String)

Parameters

context
HttpContext

The HTTP request context.

options
OAuthOptions

The OAuthOptions.

properties
AuthenticationProperties

The authentication properties of the challenge.

redirectUri
String

The initial redirect URI.

Applies to