Dela via


OAuthCreatingTicketContext Constructors

Definition

Overloads

OAuthCreatingTicketContext(AuthenticationTicket, HttpContext, OAuthOptions, HttpClient, OAuthTokenResponse)

Initializes a new OAuthCreatingTicketContext.

OAuthCreatingTicketContext(AuthenticationTicket, HttpContext, OAuthOptions, HttpClient, OAuthTokenResponse, JObject)

Initializes a new OAuthCreatingTicketContext.

OAuthCreatingTicketContext(ClaimsPrincipal, AuthenticationProperties, HttpContext, AuthenticationScheme, OAuthOptions, HttpClient, OAuthTokenResponse)

Initializes a new OAuthCreatingTicketContext.

OAuthCreatingTicketContext(ClaimsPrincipal, AuthenticationProperties, HttpContext, AuthenticationScheme, OAuthOptions, HttpClient, OAuthTokenResponse, JObject)

Initializes a new OAuthCreatingTicketContext.

OAuthCreatingTicketContext(ClaimsPrincipal, AuthenticationProperties, HttpContext, AuthenticationScheme, OAuthOptions, HttpClient, OAuthTokenResponse, JsonElement)

Initializes a new OAuthCreatingTicketContext.

OAuthCreatingTicketContext(AuthenticationTicket, HttpContext, OAuthOptions, HttpClient, OAuthTokenResponse)

Initializes a new OAuthCreatingTicketContext.

public:
 OAuthCreatingTicketContext(Microsoft::AspNetCore::Authentication::AuthenticationTicket ^ ticket, Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Builder::OAuthOptions ^ options, System::Net::Http::HttpClient ^ backchannel, Microsoft::AspNetCore::Authentication::OAuth::OAuthTokenResponse ^ tokens);
public OAuthCreatingTicketContext (Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket, Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Builder.OAuthOptions options, System.Net.Http.HttpClient backchannel, Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse tokens);
new Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext : Microsoft.AspNetCore.Authentication.AuthenticationTicket * Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Builder.OAuthOptions * System.Net.Http.HttpClient * Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse -> Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext
Public Sub New (ticket As AuthenticationTicket, context As HttpContext, options As OAuthOptions, backchannel As HttpClient, tokens As OAuthTokenResponse)

Parameters

context
HttpContext

The HTTP environment.

options
OAuthOptions

The options used by the authentication middleware.

backchannel
HttpClient

The HTTP client used by the authentication middleware

tokens
OAuthTokenResponse

The tokens returned from the token endpoint.

Applies to

OAuthCreatingTicketContext(AuthenticationTicket, HttpContext, OAuthOptions, HttpClient, OAuthTokenResponse, JObject)

Initializes a new OAuthCreatingTicketContext.

public:
 OAuthCreatingTicketContext(Microsoft::AspNetCore::Authentication::AuthenticationTicket ^ ticket, Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Builder::OAuthOptions ^ options, System::Net::Http::HttpClient ^ backchannel, Microsoft::AspNetCore::Authentication::OAuth::OAuthTokenResponse ^ tokens, Newtonsoft::Json::Linq::JObject ^ user);
public OAuthCreatingTicketContext (Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket, Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Builder.OAuthOptions options, System.Net.Http.HttpClient backchannel, Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse tokens, Newtonsoft.Json.Linq.JObject user);
new Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext : Microsoft.AspNetCore.Authentication.AuthenticationTicket * Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Builder.OAuthOptions * System.Net.Http.HttpClient * Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse * Newtonsoft.Json.Linq.JObject -> Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext
Public Sub New (ticket As AuthenticationTicket, context As HttpContext, options As OAuthOptions, backchannel As HttpClient, tokens As OAuthTokenResponse, user As JObject)

Parameters

context
HttpContext

The HTTP environment.

options
OAuthOptions

The options used by the authentication middleware.

backchannel
HttpClient

The HTTP client used by the authentication middleware

tokens
OAuthTokenResponse

The tokens returned from the token endpoint.

user
Newtonsoft.Json.Linq.JObject

The JSON-serialized user.

Applies to

OAuthCreatingTicketContext(ClaimsPrincipal, AuthenticationProperties, HttpContext, AuthenticationScheme, OAuthOptions, HttpClient, OAuthTokenResponse)

Source:
OAuthCreatingTicketContext.cs
Source:
OAuthCreatingTicketContext.cs

Initializes a new OAuthCreatingTicketContext.

public:
 OAuthCreatingTicketContext(System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::OAuth::OAuthOptions ^ options, System::Net::Http::HttpClient ^ backchannel, Microsoft::AspNetCore::Authentication::OAuth::OAuthTokenResponse ^ tokens);
public OAuthCreatingTicketContext (System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions options, System.Net.Http.HttpClient backchannel, Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse tokens);
new Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext : System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties * Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions * System.Net.Http.HttpClient * Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse -> Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext
Public Sub New (principal As ClaimsPrincipal, properties As AuthenticationProperties, context As HttpContext, scheme As AuthenticationScheme, options As OAuthOptions, backchannel As HttpClient, tokens As OAuthTokenResponse)

Parameters

context
HttpContext

The HTTP environment.

scheme
AuthenticationScheme

The authentication scheme.

options
OAuthOptions

The options used by the authentication middleware.

backchannel
HttpClient

The HTTP client used by the authentication middleware

tokens
OAuthTokenResponse

The tokens returned from the token endpoint.

Applies to

OAuthCreatingTicketContext(ClaimsPrincipal, AuthenticationProperties, HttpContext, AuthenticationScheme, OAuthOptions, HttpClient, OAuthTokenResponse, JObject)

Source:
OAuthCreatingTicketContext.cs
Source:
OAuthCreatingTicketContext.cs

Initializes a new OAuthCreatingTicketContext.

public:
 OAuthCreatingTicketContext(System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::OAuth::OAuthOptions ^ options, System::Net::Http::HttpClient ^ backchannel, Microsoft::AspNetCore::Authentication::OAuth::OAuthTokenResponse ^ tokens, Newtonsoft::Json::Linq::JObject ^ user);
public OAuthCreatingTicketContext (System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions options, System.Net.Http.HttpClient backchannel, Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse tokens, Newtonsoft.Json.Linq.JObject user);
new Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext : System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties * Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions * System.Net.Http.HttpClient * Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse * Newtonsoft.Json.Linq.JObject -> Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext
Public Sub New (principal As ClaimsPrincipal, properties As AuthenticationProperties, context As HttpContext, scheme As AuthenticationScheme, options As OAuthOptions, backchannel As HttpClient, tokens As OAuthTokenResponse, user As JObject)

Parameters

context
HttpContext

The HTTP environment.

scheme
AuthenticationScheme

The authentication scheme.

options
OAuthOptions

The options used by the authentication middleware.

backchannel
HttpClient

The HTTP client used by the authentication middleware

tokens
OAuthTokenResponse

The tokens returned from the token endpoint.

user
Newtonsoft.Json.Linq.JObject

The JSON-serialized user.

Applies to

OAuthCreatingTicketContext(ClaimsPrincipal, AuthenticationProperties, HttpContext, AuthenticationScheme, OAuthOptions, HttpClient, OAuthTokenResponse, JsonElement)

Source:
OAuthCreatingTicketContext.cs

Initializes a new OAuthCreatingTicketContext.

public:
 OAuthCreatingTicketContext(System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::OAuth::OAuthOptions ^ options, System::Net::Http::HttpClient ^ backchannel, Microsoft::AspNetCore::Authentication::OAuth::OAuthTokenResponse ^ tokens, System::Text::Json::JsonElement user);
public OAuthCreatingTicketContext (System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions options, System.Net.Http.HttpClient backchannel, Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse tokens, System.Text.Json.JsonElement user);
new Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext : System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties * Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions * System.Net.Http.HttpClient * Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse * System.Text.Json.JsonElement -> Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext
Public Sub New (principal As ClaimsPrincipal, properties As AuthenticationProperties, context As HttpContext, scheme As AuthenticationScheme, options As OAuthOptions, backchannel As HttpClient, tokens As OAuthTokenResponse, user As JsonElement)

Parameters

context
HttpContext

The HTTP environment.

scheme
AuthenticationScheme

The authentication scheme.

options
OAuthOptions

The options used by the authentication middleware.

backchannel
HttpClient

The HTTP client used by the authentication middleware

tokens
OAuthTokenResponse

The tokens returned from the token endpoint.

user
JsonElement

The JSON-serialized user.

Applies to