SecurityStampValidator<TUser>.ValidateAsync 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:
 virtual System::Threading::Tasks::Task ^ ValidateAsync(Microsoft::AspNetCore::Authentication::Cookies::CookieValidatePrincipalContext ^ context);
public virtual System.Threading.Tasks.Task ValidateAsync (Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext context);
abstract member ValidateAsync : Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext -> System.Threading.Tasks.Task
override this.ValidateAsync : Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext -> System.Threading.Tasks.Task
Public Overridable 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.

Implements

Applies to