CookieSigningInContext Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
CookieSigningInContext(HttpContext, AuthenticationScheme, CookieAuthenticationOptions, ClaimsPrincipal, AuthenticationProperties, CookieOptions) |
Cria uma nova instância do objeto de contexto. |
CookieSigningInContext(HttpContext, CookieAuthenticationOptions, String, ClaimsPrincipal, AuthenticationProperties, CookieOptions) |
Cria uma nova instância do objeto de contexto. |
CookieSigningInContext(HttpContext, AuthenticationScheme, CookieAuthenticationOptions, ClaimsPrincipal, AuthenticationProperties, CookieOptions)
- Origem:
- CookieSigningInContext.cs
- Origem:
- CookieSigningInContext.cs
- Origem:
- CookieSigningInContext.cs
Cria uma nova instância do objeto de contexto.
public:
CookieSigningInContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::Cookies::CookieAuthenticationOptions ^ options, System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, Microsoft::AspNetCore::Http::CookieOptions ^ cookieOptions);
public CookieSigningInContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions options, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, Microsoft.AspNetCore.Http.CookieOptions cookieOptions);
public CookieSigningInContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions options, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties, Microsoft.AspNetCore.Http.CookieOptions cookieOptions);
new Microsoft.AspNetCore.Authentication.Cookies.CookieSigningInContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions * System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties * Microsoft.AspNetCore.Http.CookieOptions -> Microsoft.AspNetCore.Authentication.Cookies.CookieSigningInContext
Public Sub New (context As HttpContext, scheme As AuthenticationScheme, options As CookieAuthenticationOptions, principal As ClaimsPrincipal, properties As AuthenticationProperties, cookieOptions As CookieOptions)
Parâmetros
- context
- HttpContext
O contexto de solicitação HTTP
- scheme
- AuthenticationScheme
Os dados do esquema
- options
- CookieAuthenticationOptions
As opções do manipulador
- principal
- ClaimsPrincipal
Inicializa a propriedade Principal
- properties
- AuthenticationProperties
As propriedades de autenticação.
- cookieOptions
- CookieOptions
Inicializa opções para o cookie de autenticação.
Aplica-se a
CookieSigningInContext(HttpContext, CookieAuthenticationOptions, String, ClaimsPrincipal, AuthenticationProperties, CookieOptions)
Cria uma nova instância do objeto de contexto.
public:
CookieSigningInContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Builder::CookieAuthenticationOptions ^ options, System::String ^ authenticationScheme, System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties, Microsoft::AspNetCore::Http::CookieOptions ^ cookieOptions);
public CookieSigningInContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Builder.CookieAuthenticationOptions options, string authenticationScheme, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties, Microsoft.AspNetCore.Http.CookieOptions cookieOptions);
new Microsoft.AspNetCore.Authentication.Cookies.CookieSigningInContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Builder.CookieAuthenticationOptions * string * System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties * Microsoft.AspNetCore.Http.CookieOptions -> Microsoft.AspNetCore.Authentication.Cookies.CookieSigningInContext
Public Sub New (context As HttpContext, options As CookieAuthenticationOptions, authenticationScheme As String, principal As ClaimsPrincipal, properties As AuthenticationProperties, cookieOptions As CookieOptions)
Parâmetros
- context
- HttpContext
O contexto de solicitação HTTP
- options
- CookieAuthenticationOptions
As opções de middleware
- authenticationScheme
- String
Inicializa a propriedade AuthenticationScheme
- principal
- ClaimsPrincipal
Inicializa a propriedade Principal
- properties
- AuthenticationProperties
Inicializa a propriedade Extra.
- cookieOptions
- CookieOptions
Inicializa opções para o cookie de autenticação.