SecurityStampValidator Class¶
Summary¶
Static helper class used to configure a CookieAuthenticationNotifications to validate a cookie against a user’s security stamp.
Methods¶
-
ValidatePrincipalAsync
(CookieValidatePrincipalContext)¶ Validates a principal against a user’s stored security stamp. the identity.
Arguments: - context (CookieValidatePrincipalContext) – The context containing the :dn:ref:`System.Security.Claims.ClaimsPrincipal`and AuthenticationProperties to validate.
Return type: System.Threading.Tasks.Task
Returns: The <see cref=”T:System.Threading.Tasks.Task” /> that represents the asynchronous validation operation.
public static Task ValidatePrincipalAsync(CookieValidatePrincipalContext context)
-