SecurityStampValidator<TUser> Class

Definition

Provides default implementation of validation functions for security stamps.

C#
public class SecurityStampValidator<TUser> : Microsoft.AspNetCore.Identity.ISecurityStampValidator where TUser : class

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

The SecurityStampValidatorOptions.

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

Applies to

Product Versions
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0