Compartilhar via


TwoFactorSecurityStampValidator<TUser> Construtores

Definição

Sobrecargas

TwoFactorSecurityStampValidator<TUser>(IOptions<SecurityStampValidatorOptions>, SignInManager<TUser>, ISystemClock)

Cria uma nova instância de SecurityStampValidator<TUser>.

TwoFactorSecurityStampValidator<TUser>(IOptions<SecurityStampValidatorOptions>, SignInManager<TUser>, ILoggerFactory)

Cria uma nova instância de SecurityStampValidator<TUser>.

TwoFactorSecurityStampValidator<TUser>(IOptions<SecurityStampValidatorOptions>, SignInManager<TUser>, ISystemClock, ILoggerFactory)
Obsoleto.

Cria uma nova instância de SecurityStampValidator<TUser>.

TwoFactorSecurityStampValidator<TUser>(IOptions<SecurityStampValidatorOptions>, SignInManager<TUser>, ISystemClock)

Origem:
TwoFactorSecurityStampValidator.cs
Origem:
TwoFactorSecurityStampValidator.cs

Cria uma nova instância de SecurityStampValidator<TUser>.

public:
 TwoFactorSecurityStampValidator(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Identity::SecurityStampValidatorOptions ^> ^ options, Microsoft::AspNetCore::Identity::SignInManager<TUser> ^ signInManager, Microsoft::AspNetCore::Authentication::ISystemClock ^ clock);
public TwoFactorSecurityStampValidator (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Identity.SecurityStampValidatorOptions> options, Microsoft.AspNetCore.Identity.SignInManager<TUser> signInManager, Microsoft.AspNetCore.Authentication.ISystemClock clock);
new Microsoft.AspNetCore.Identity.TwoFactorSecurityStampValidator<'User (requires 'User : null)> : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Identity.SecurityStampValidatorOptions> * Microsoft.AspNetCore.Identity.SignInManager<'User (requires 'User : null)> * Microsoft.AspNetCore.Authentication.ISystemClock -> Microsoft.AspNetCore.Identity.TwoFactorSecurityStampValidator<'User (requires 'User : null)>
Public Sub New (options As IOptions(Of SecurityStampValidatorOptions), signInManager As SignInManager(Of TUser), clock As ISystemClock)

Parâmetros

options
IOptions<SecurityStampValidatorOptions>

Usado para acessar o IdentityOptions.

clock
ISystemClock

O relógio do sistema.

Aplica-se a

TwoFactorSecurityStampValidator<TUser>(IOptions<SecurityStampValidatorOptions>, SignInManager<TUser>, ILoggerFactory)

Origem:
TwoFactorSecurityStampValidator.cs

Cria uma nova instância de SecurityStampValidator<TUser>.

public TwoFactorSecurityStampValidator (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Identity.SecurityStampValidatorOptions> options, Microsoft.AspNetCore.Identity.SignInManager<TUser> signInManager, Microsoft.Extensions.Logging.ILoggerFactory logger);
new Microsoft.AspNetCore.Identity.TwoFactorSecurityStampValidator<'User (requires 'User : null)> : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Identity.SecurityStampValidatorOptions> * Microsoft.AspNetCore.Identity.SignInManager<'User (requires 'User : null)> * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Identity.TwoFactorSecurityStampValidator<'User (requires 'User : null)>
Public Sub New (options As IOptions(Of SecurityStampValidatorOptions), signInManager As SignInManager(Of TUser), logger As ILoggerFactory)

Parâmetros

options
IOptions<SecurityStampValidatorOptions>

Usado para acessar o IdentityOptions.

logger
ILoggerFactory

O agente de log.

Aplica-se a

TwoFactorSecurityStampValidator<TUser>(IOptions<SecurityStampValidatorOptions>, SignInManager<TUser>, ISystemClock, ILoggerFactory)

Origem:
TwoFactorSecurityStampValidator.cs

Cuidado

ISystemClock is obsolete, use TimeProvider on SecurityStampValidatorOptions instead.

Cria uma nova instância de SecurityStampValidator<TUser>.

public:
 TwoFactorSecurityStampValidator(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Identity::SecurityStampValidatorOptions ^> ^ options, Microsoft::AspNetCore::Identity::SignInManager<TUser> ^ signInManager, Microsoft::AspNetCore::Authentication::ISystemClock ^ clock, Microsoft::Extensions::Logging::ILoggerFactory ^ logger);
public TwoFactorSecurityStampValidator (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Identity.SecurityStampValidatorOptions> options, Microsoft.AspNetCore.Identity.SignInManager<TUser> signInManager, Microsoft.AspNetCore.Authentication.ISystemClock clock, Microsoft.Extensions.Logging.ILoggerFactory logger);
[System.Obsolete("ISystemClock is obsolete, use TimeProvider on SecurityStampValidatorOptions instead.")]
public TwoFactorSecurityStampValidator (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Identity.SecurityStampValidatorOptions> options, Microsoft.AspNetCore.Identity.SignInManager<TUser> signInManager, Microsoft.AspNetCore.Authentication.ISystemClock clock, Microsoft.Extensions.Logging.ILoggerFactory logger);
new Microsoft.AspNetCore.Identity.TwoFactorSecurityStampValidator<'User (requires 'User : null)> : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Identity.SecurityStampValidatorOptions> * Microsoft.AspNetCore.Identity.SignInManager<'User (requires 'User : null)> * Microsoft.AspNetCore.Authentication.ISystemClock * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Identity.TwoFactorSecurityStampValidator<'User (requires 'User : null)>
[<System.Obsolete("ISystemClock is obsolete, use TimeProvider on SecurityStampValidatorOptions instead.")>]
new Microsoft.AspNetCore.Identity.TwoFactorSecurityStampValidator<'User (requires 'User : null)> : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Identity.SecurityStampValidatorOptions> * Microsoft.AspNetCore.Identity.SignInManager<'User (requires 'User : null)> * Microsoft.AspNetCore.Authentication.ISystemClock * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Identity.TwoFactorSecurityStampValidator<'User (requires 'User : null)>
Public Sub New (options As IOptions(Of SecurityStampValidatorOptions), signInManager As SignInManager(Of TUser), clock As ISystemClock, logger As ILoggerFactory)

Parâmetros

options
IOptions<SecurityStampValidatorOptions>

Usado para acessar o IdentityOptions.

clock
ISystemClock

O relógio do sistema.

logger
ILoggerFactory

O agente de log.

Atributos

Aplica-se a