Saltar al contenido
Abblix
Esta página aún no está traducida.

IInitialAccessTokenRevocationProvider Interface

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

C#
public interface IInitialAccessTokenRevocationProvider

Derived
InitialAccessTokenRevocationProvider

Methods

IInitialAccessTokenRevocationProvider.IsRevokedAsync(string) Method

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

C#
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.