CookieSignedInContext Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
CookieSignedInContext(HttpContext, AuthenticationScheme, ClaimsPrincipal, AuthenticationProperties, CookieAuthenticationOptions) |
Crea una nuova istanza dell'oggetto di contesto. |
CookieSignedInContext(HttpContext, CookieAuthenticationOptions, String, ClaimsPrincipal, AuthenticationProperties) |
Crea una nuova istanza dell'oggetto di contesto. |
CookieSignedInContext(HttpContext, AuthenticationScheme, ClaimsPrincipal, AuthenticationProperties, CookieAuthenticationOptions)
- Origine:
- CookieSignedInContext.cs
- Origine:
- CookieSignedInContext.cs
- Origine:
- CookieSignedInContext.cs
Crea una nuova istanza dell'oggetto di contesto.
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)
Parametri
- context
- HttpContext
Contesto della richiesta HTTP
- scheme
- AuthenticationScheme
Dati dello schema
- principal
- ClaimsPrincipal
Inizializza la proprietà Principal
- properties
- AuthenticationProperties
Inizializza le proprietà Properties
- options
- CookieAuthenticationOptions
Opzioni del gestore
Si applica a
CookieSignedInContext(HttpContext, CookieAuthenticationOptions, String, ClaimsPrincipal, AuthenticationProperties)
Crea una nuova istanza dell'oggetto di contesto.
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)
Parametri
- context
- HttpContext
Contesto della richiesta HTTP
- options
- CookieAuthenticationOptions
Opzioni del middleware
- authenticationScheme
- String
Inizializza la proprietà AuthenticationScheme
- principal
- ClaimsPrincipal
Inizializza la proprietà Principal
- properties
- AuthenticationProperties
Inizializza le proprietà Properties