Method RevalidatePrincipalAsync(CookieValidatePrincipalContext)
Cookie-side half of session revalidation (review 2026-09-02, В14): every
the account is re-resolved through
— a deleted user or a changed role rejects the
principal and signs the cookie out instead of riding the 8-hour sliding expiration.
public static Task RevalidatePrincipalAsync(CookieValidatePrincipalContext ctx)