SecurityStampValidator.ValidatePrincipalAsync Method

Definition

Validates a principal against a user's stored security stamp.

public:
 static System::Threading::Tasks::Task ^ ValidatePrincipalAsync(Microsoft::AspNetCore::Authentication::Cookies::CookieValidatePrincipalContext ^ context);
public static System.Threading.Tasks.Task ValidatePrincipalAsync (Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext context);
static member ValidatePrincipalAsync : Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext -> System.Threading.Tasks.Task
Public Shared Function ValidatePrincipalAsync (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