Method ValidateAsync(string, CancellationToken)

Assembly: redb.Route.Http.dll

The principal the token stands for, or null when the token is not accepted (the caller gets 401 with
error="invalid_token"). A principal whose identity is not authenticated counts as not accepted. An exception
is a failure of the validator, not of the caller, and answers 500.

Task<ClaimsPrincipal?> ValidateAsync(string token, CancellationToken ct)