SecurityStampValidator Class

Definition

Static helper class used to configure a CookieAuthenticationNotifications to validate a cookie against a user's security stamp.

public ref class SecurityStampValidator abstract sealed
public static class SecurityStampValidator
type SecurityStampValidator = class
Public Class SecurityStampValidator
Inheritance
SecurityStampValidator

Methods

ValidateAsync<TValidator>(CookieValidatePrincipalContext)

Used to validate the TwoFactorUserIdScheme and TwoFactorRememberMeScheme cookies against the user's stored security stamp.

ValidatePrincipalAsync(CookieValidatePrincipalContext)

Validates a principal against a user's stored security stamp.

Applies to