共用方式為


SecurityStampValidator<TUser> 建構函式

定義

多載

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

建立 SecurityStampValidator<TUser> 的新執行個體。

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

建立 SecurityStampValidator<TUser> 的新執行個體。

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

建立 SecurityStampValidator<TUser> 的新執行個體。

SecurityStampValidator<TUser>(IOptions<SecurityStampValidatorOptions>, SignInManager<TUser>, ISystemClock, ILoggerFactory)
已淘汰.

建立 SecurityStampValidator<TUser> 的新執行個體。

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

建立 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))

參數

options
IOptions<IdentityOptions>

用來存取 IdentityOptions

適用於

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

來源:
SecurityStampValidator.cs
來源:
SecurityStampValidator.cs

建立 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)

參數

clock
ISystemClock

系統時鐘。

適用於

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

來源:
SecurityStampValidator.cs

建立 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)

參數

logger
ILoggerFactory

登入程式。

適用於

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

來源:
SecurityStampValidator.cs

警告

ISystemClock is obsolete, use TimeProvider on SecurityStampValidatorOptions instead.

建立 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)

參數

clock
ISystemClock

系統時鐘。

logger
ILoggerFactory

登入程式。

屬性

適用於