TwoFactorSecurityStampValidator<TUser> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Responsible for validation of two factor identity cookie security stamp.
generic <typename TUser>
where TUser : classpublic ref class TwoFactorSecurityStampValidator : Microsoft::AspNetCore::Identity::SecurityStampValidator<TUser>, Microsoft::AspNetCore::Identity::ITwoFactorSecurityStampValidator
public class TwoFactorSecurityStampValidator<TUser> : Microsoft.AspNetCore.Identity.SecurityStampValidator<TUser>, Microsoft.AspNetCore.Identity.ITwoFactorSecurityStampValidator where TUser : class
type TwoFactorSecurityStampValidator<'User (requires 'User : null)> = class
inherit SecurityStampValidator<'User (requires 'User : null)>
interface ITwoFactorSecurityStampValidator
interface ISecurityStampValidator
type TwoFactorSecurityStampValidator<'User (requires 'User : null)> = class
inherit SecurityStampValidator<'User (requires 'User : null)>
interface ISecurityStampValidator
interface ITwoFactorSecurityStampValidator
Public Class TwoFactorSecurityStampValidator(Of TUser)
Inherits SecurityStampValidator(Of TUser)
Implements ITwoFactorSecurityStampValidator
Type Parameters
- TUser
The type encapsulating a user.
- Inheritance
- Implements
Constructors
Properties
Clock |
Obsolete.
The ISystemClock. (Inherited from SecurityStampValidator<TUser>) |
Logger |
Gets the ILogger used to log messages. (Inherited from SecurityStampValidator<TUser>) |
Options |
The SecurityStampValidatorOptions. (Inherited from SecurityStampValidator<TUser>) |
SignInManager |
The SignInManager. (Inherited from SecurityStampValidator<TUser>) |
TimeProvider |
The TimeProvider. (Inherited from SecurityStampValidator<TUser>) |
Methods
SecurityStampVerified(TUser, CookieValidatePrincipalContext) |
Called when the security stamp has been verified. |
ValidateAsync(CookieValidatePrincipalContext) |
Validates a security stamp of an identity as an asynchronous operation, and rebuilds the identity if the validation succeeds, otherwise rejects the identity. (Inherited from SecurityStampValidator<TUser>) |
VerifySecurityStamp(ClaimsPrincipal) |
Verifies the principal's security stamp, returns the matching user if successful |