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)

System.Object
  Microsoft.AspNet.Identity.Owin.SecurityStampValidator

public static class SecurityStampValidator

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticOnValidateIdentity<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.

System_CAPS_pubmethodSystem_CAPS_staticOnValidateIdentity<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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: