SecurityStampValidator<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.
Provides default implementation of validation functions for security stamps.
generic <typename TUser>
where TUser : classpublic ref class SecurityStampValidator : Microsoft::AspNetCore::Identity::ISecurityStampValidator
public class SecurityStampValidator<TUser> : Microsoft.AspNetCore.Identity.ISecurityStampValidator where TUser : class
type SecurityStampValidator<'User (requires 'User : null)> = class
interface ISecurityStampValidator
Public Class SecurityStampValidator(Of TUser)
Implements ISecurityStampValidator
Type Parameters
- TUser
The type encapsulating a user.
- Inheritance
-
SecurityStampValidator<TUser>
- Derived
- Implements
Constructors
Properties
Clock |
Obsolete.
The ISystemClock. |
Logger |
Gets the ILogger used to log messages. |
Options | |
SignInManager |
The SignInManager. |
TimeProvider |
The TimeProvider. |
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. |
VerifySecurityStamp(ClaimsPrincipal) |
Verifies the principal's security stamp, returns the matching user if successful |