Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface Duende.​IdentityServer.​Validation.​ITokenValidator

Assembly: Duende.IdentityServer

Interface for the token validator

Methods

ValidateAccessTokenAsync​(string token, string expectedScope, System.​Threading.​CancellationToken ct)
Validates an access token.
token The access token.
expectedScope The expected scope.
ct The cancellation token.
ValidateIdentityTokenAsync​(string token, string clientId, bool validateLifetime, System.​Threading.​CancellationToken ct)
Validates an identity token.
token The token.
clientId The client identifier.
validateLifetime if set to <c>true</c> the lifetime gets validated. Otherwise not.
ct The cancellation token.