ISecurityStampValidator.ValidateAsync(CookieValidatePrincipalContext) 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 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.