CookieSignedInContext 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
CookieSignedInContext(HttpContext, AuthenticationScheme, ClaimsPrincipal, AuthenticationProperties, CookieAuthenticationOptions) |
Cria uma nova instância do objeto de contexto. |
CookieSignedInContext(HttpContext, CookieAuthenticationOptions, String, ClaimsPrincipal, AuthenticationProperties) |
Cria uma nova instância do objeto de contexto. |
CookieSignedInContext(HttpContext, AuthenticationScheme, ClaimsPrincipal, AuthenticationProperties, CookieAuthenticationOptions)
- Origem:
- CookieSignedInContext.cs
- Origem:
- CookieSignedInContext.cs
- Origem:
- CookieSignedInContext.cs
Cria uma nova instância do objeto de contexto.
public:
CookieSignedInContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, Microsoft::AspNetCore::Authentication::Cookies::CookieAuthenticationOptions ^ options);
public CookieSignedInContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions options);
public CookieSignedInContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties, Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions options);
new Microsoft.AspNetCore.Authentication.Cookies.CookieSignedInContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties * Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions -> Microsoft.AspNetCore.Authentication.Cookies.CookieSignedInContext
Public Sub New (context As HttpContext, scheme As AuthenticationScheme, principal As ClaimsPrincipal, properties As AuthenticationProperties, options As CookieAuthenticationOptions)
Parâmetros
- context
- HttpContext
O contexto da solicitação HTTP
- scheme
- AuthenticationScheme
Os dados do esquema
- principal
- ClaimsPrincipal
Inicializa a propriedade Principal
- properties
- AuthenticationProperties
Inicializa a propriedade Properties
- options
- CookieAuthenticationOptions
As opções do manipulador
Aplica-se a
CookieSignedInContext(HttpContext, CookieAuthenticationOptions, String, ClaimsPrincipal, AuthenticationProperties)
Cria uma nova instância do objeto de contexto.
public:
CookieSignedInContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Builder::CookieAuthenticationOptions ^ options, System::String ^ authenticationScheme, System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties);
public CookieSignedInContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Builder.CookieAuthenticationOptions options, string authenticationScheme, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties);
new Microsoft.AspNetCore.Authentication.Cookies.CookieSignedInContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Builder.CookieAuthenticationOptions * string * System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Authentication.Cookies.CookieSignedInContext
Public Sub New (context As HttpContext, options As CookieAuthenticationOptions, authenticationScheme As String, principal As ClaimsPrincipal, properties As AuthenticationProperties)
Parâmetros
- context
- HttpContext
O contexto da 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 Properties