SecurityStampValidator.ValidatePrincipalAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.