OAuthCreatingTicketContext Конструкторы
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
OAuthCreatingTicketContext(AuthenticationTicket, HttpContext, OAuthOptions, HttpClient, OAuthTokenResponse)
Инициализирует новый объект 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)
Параметры
- context
- HttpContext
Среда HTTP.
- options
- OAuthOptions
Параметры, используемые ПО промежуточного слоя для проверки подлинности.
- backchannel
- HttpClient
HTTP-клиент, используемый ПО промежуточного слоя для проверки подлинности
- tokens
- OAuthTokenResponse
Маркеры, возвращаемые из конечной точки маркера.
Применяется к
OAuthCreatingTicketContext(AuthenticationTicket, HttpContext, OAuthOptions, HttpClient, OAuthTokenResponse, JObject)
Инициализирует новый объект 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)
Параметры
- context
- HttpContext
Среда HTTP.
- options
- OAuthOptions
Параметры, используемые ПО промежуточного слоя для проверки подлинности.
- backchannel
- HttpClient
HTTP-клиент, используемый ПО промежуточного слоя для проверки подлинности
- tokens
- OAuthTokenResponse
Маркеры, возвращаемые из конечной точки маркера.
- user
- Newtonsoft.Json.Linq.JObject
Пользователь, сериализованный в формате JSON.
Применяется к
OAuthCreatingTicketContext(ClaimsPrincipal, AuthenticationProperties, HttpContext, AuthenticationScheme, OAuthOptions, HttpClient, OAuthTokenResponse)
- Исходный код:
- OAuthCreatingTicketContext.cs
- Исходный код:
- OAuthCreatingTicketContext.cs
Инициализирует новый объект 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)
Параметры
- principal
- ClaimsPrincipal
- properties
- AuthenticationProperties
- context
- HttpContext
Среда HTTP.
- scheme
- AuthenticationScheme
Схема проверки подлинности.
- options
- OAuthOptions
Параметры, используемые ПО промежуточного слоя для проверки подлинности.
- backchannel
- HttpClient
HTTP-клиент, используемый ПО промежуточного слоя для проверки подлинности
- tokens
- OAuthTokenResponse
Маркеры, возвращаемые из конечной точки маркера.
Применяется к
OAuthCreatingTicketContext(ClaimsPrincipal, AuthenticationProperties, HttpContext, AuthenticationScheme, OAuthOptions, HttpClient, OAuthTokenResponse, JObject)
- Исходный код:
- OAuthCreatingTicketContext.cs
- Исходный код:
- OAuthCreatingTicketContext.cs
Инициализирует новый объект 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)
Параметры
- principal
- ClaimsPrincipal
- properties
- AuthenticationProperties
- context
- HttpContext
Среда HTTP.
- scheme
- AuthenticationScheme
Схема проверки подлинности.
- options
- OAuthOptions
Параметры, используемые ПО промежуточного слоя для проверки подлинности.
- backchannel
- HttpClient
HTTP-клиент, используемый ПО промежуточного слоя для проверки подлинности
- tokens
- OAuthTokenResponse
Маркеры, возвращаемые из конечной точки маркера.
- user
- Newtonsoft.Json.Linq.JObject
Пользователь, сериализованный в формате JSON.
Применяется к
OAuthCreatingTicketContext(ClaimsPrincipal, AuthenticationProperties, HttpContext, AuthenticationScheme, OAuthOptions, HttpClient, OAuthTokenResponse, JsonElement)
- Исходный код:
- OAuthCreatingTicketContext.cs
Инициализирует новый объект 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)
Параметры
- principal
- ClaimsPrincipal
- properties
- AuthenticationProperties
- context
- HttpContext
Среда HTTP.
- scheme
- AuthenticationScheme
Схема проверки подлинности.
- options
- OAuthOptions
Параметры, используемые ПО промежуточного слоя для проверки подлинности.
- backchannel
- HttpClient
HTTP-клиент, используемый ПО промежуточного слоя для проверки подлинности
- tokens
- OAuthTokenResponse
Маркеры, возвращаемые из конечной точки маркера.
- user
- JsonElement
Пользователь, сериализованный в формате JSON.