SecurityStampValidator Class
Represents a static helper class used to configure a CookieAuthenticationProvider to validate a cookie against a user's security stamp.
Namespace: Microsoft.AspNet.Identity.Owin
Assembly: Microsoft.AspNet.Identity.Owin (in Microsoft.AspNet.Identity.Owin.dll)
Inheritance Hierarchy
System.Object
Microsoft.AspNet.Identity.Owin.SecurityStampValidator
Syntax
public static class SecurityStampValidator
public ref class SecurityStampValidator abstract sealed
[<AbstractClass>]
[<Sealed>]
type SecurityStampValidator = class end
Public NotInheritable Class SecurityStampValidator
Methods
Name | Description | |
---|---|---|
OnValidateIdentity<TManager, TUser>(TimeSpan, Func<TManager, TUser, Task<ClaimsIdentity>>) | Can be used as the ValidateIdentity method for a CookieAuthenticationProvider which will check a user's security stamp after validateInterval. |
|
OnValidateIdentity<TManager, TUser, TKey>(TimeSpan, Func<TManager, TUser, Task<ClaimsIdentity>>, Func<ClaimsIdentity, TKey>) | Can be used as the ValidateIdentity method for a CookieAuthenticationProvider which will check a user's security stamp after validateInterval. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.AspNet.Identity.Owin Namespace
ASP.NET Identity
Return to top