Compartilhar via


PrincipalContext<TOptions> Construtor

Definição

Construtor.

protected:
 PrincipalContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, TOptions options, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
protected PrincipalContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, TOptions options, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
protected PrincipalContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, TOptions options, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
new Microsoft.AspNetCore.Authentication.PrincipalContext<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions)> : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * 'Options * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Authentication.PrincipalContext<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions)>
Protected Sub New (context As HttpContext, scheme As AuthenticationScheme, options As TOptions, properties As AuthenticationProperties)

Parâmetros

context
HttpContext

O contexto.

scheme
AuthenticationScheme

O esquema de autenticação.

options
TOptions

As opções de autenticação associadas ao esquema.

properties
AuthenticationProperties

As propriedades de autenticação.

Aplica-se a