Skip to main content

IInitialAccessTokenRevocationProvider Interface

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces

IInitialAccessTokenRevocationProvider Interface

Checks whether an initial access token has been revoked. Implementations may use a database, distributed cache, or other store.

public interface IInitialAccessTokenRevocationProvider

Derived
InitialAccessTokenRevocationProvider

Methods

IInitialAccessTokenRevocationProvider.IsRevokedAsync(string) Method

Determines whether the initial access token with the specified identifier has been revoked.

System.Threading.Tasks.Task<bool> IsRevokedAsync(string subject);

Parameters

subject System.String

The unique identifier of the token (from the JWT subject claim).

Returns

System.Threading.Tasks.Task<System.Boolean>
A task that results in true if the token has been revoked, false otherwise.