Condividi tramite


SecurityStampValidator<TUser> Costruttori

Definizione

Overload

SecurityStampValidator<TUser>(IOptions<IdentityOptions>, SignInManager<TUser>)

Crea una nuova istanza di SecurityStampValidator<TUser>.

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

Crea una nuova istanza di SecurityStampValidator<TUser>.

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

Crea una nuova istanza di SecurityStampValidator<TUser>.

SecurityStampValidator<TUser>(IOptions<SecurityStampValidatorOptions>, SignInManager<TUser>, ISystemClock, ILoggerFactory)
Obsoleti.

Crea una nuova istanza di SecurityStampValidator<TUser>.

SecurityStampValidator<TUser>(IOptions<IdentityOptions>, SignInManager<TUser>)

Crea una nuova istanza di SecurityStampValidator<TUser>.

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

Parametri

options
IOptions<IdentityOptions>

Usato per accedere all'oggetto IdentityOptions.

Si applica a

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

Origine:
SecurityStampValidator.cs
Origine:
SecurityStampValidator.cs

Crea una nuova istanza di SecurityStampValidator<TUser>.

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

Parametri

options
IOptions<SecurityStampValidatorOptions>

Usato per accedere all'oggetto IdentityOptions.

clock
ISystemClock

Orologio di sistema.

Si applica a

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

Origine:
SecurityStampValidator.cs

Crea una nuova istanza di SecurityStampValidator<TUser>.

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

Parametri

options
IOptions<SecurityStampValidatorOptions>

Usato per accedere all'oggetto IdentityOptions.

logger
ILoggerFactory

Logger.

Si applica a

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

Origine:
SecurityStampValidator.cs

Attenzione

ISystemClock is obsolete, use TimeProvider on SecurityStampValidatorOptions instead.

Crea una nuova istanza di SecurityStampValidator<TUser>.

public:
 SecurityStampValidator(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 SecurityStampValidator (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 SecurityStampValidator (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.SecurityStampValidator<'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.SecurityStampValidator<'User (requires 'User : null)>
[<System.Obsolete("ISystemClock is obsolete, use TimeProvider on SecurityStampValidatorOptions instead.")>]
new Microsoft.AspNetCore.Identity.SecurityStampValidator<'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.SecurityStampValidator<'User (requires 'User : null)>
Public Sub New (options As IOptions(Of SecurityStampValidatorOptions), signInManager As SignInManager(Of TUser), clock As ISystemClock, logger As ILoggerFactory)

Parametri

options
IOptions<SecurityStampValidatorOptions>

Usato per accedere all'oggetto IdentityOptions.

clock
ISystemClock

Orologio di sistema.

logger
ILoggerFactory

Logger.

Attributi

Si applica a