TwoFactorSecurityStampValidator<TUser> Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
TwoFactorSecurityStampValidator<TUser>(IOptions<SecurityStampValidatorOptions>, SignInManager<TUser>, ISystemClock)
Crée une instance 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)
Paramètres
- options
- IOptions<SecurityStampValidatorOptions>
Utilisé pour accéder à .IdentityOptions
- signInManager
- SignInManager<TUser>
L’SignInManager<TUser>opérateur
- clock
- ISystemClock
L'horloge système.
S’applique à
TwoFactorSecurityStampValidator<TUser>(IOptions<SecurityStampValidatorOptions>, SignInManager<TUser>, ILoggerFactory)
Crée une instance 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)
Paramètres
- options
- IOptions<SecurityStampValidatorOptions>
Utilisé pour accéder à .IdentityOptions
- signInManager
- SignInManager<TUser>
L’SignInManager<TUser>opérateur
- logger
- ILoggerFactory
L'enregistreur.
S’applique à
TwoFactorSecurityStampValidator<TUser>(IOptions<SecurityStampValidatorOptions>, SignInManager<TUser>, ISystemClock, ILoggerFactory)
Attention
ISystemClock is obsolete, use TimeProvider on SecurityStampValidatorOptions instead.
Crée une instance 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)
Paramètres
- options
- IOptions<SecurityStampValidatorOptions>
Utilisé pour accéder à .IdentityOptions
- signInManager
- SignInManager<TUser>
L’SignInManager<TUser>opérateur
- clock
- ISystemClock
L'horloge système.
- logger
- ILoggerFactory
L'enregistreur.
- Attributs