JwtBuilderResult.ValidateAsync method

Asynchronously validates the specified JWT using the configured validation parameters.

public Task<TokenValidationResult> ValidateAsync(string jwt, TimeSpan? clockSkew = default)
parameter description
jwt The JWT compact string to validate.
clockSkew Optional clock skew to allow when validating token lifetime.

Return Value

A task that represents the asynchronous operation, containing the token validation result.

See Also