Share via


ISecurityStampValidator.ValidateAsync(CookieValidatePrincipalContext) Method

Definition

Validates a security stamp of an identity as an asynchronous operation, and rebuilds the identity if the validation succeeds, otherwise rejects the identity.

public:
 System::Threading::Tasks::Task ^ ValidateAsync(Microsoft::AspNetCore::Authentication::Cookies::CookieValidatePrincipalContext ^ context);
public System.Threading.Tasks.Task ValidateAsync (Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext context);
abstract member ValidateAsync : Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext -> System.Threading.Tasks.Task
Public Function ValidateAsync (context As CookieValidatePrincipalContext) As Task

Parameters

context
CookieValidatePrincipalContext

The context containing the ClaimsPrincipal and AuthenticationProperties to validate.

Returns

The Task that represents the asynchronous validation operation.

Applies to