Table of Contents

Interface ITokenRevocationResponseGenerator

Namespace
Fdyay.IdentityServer.ResponseHandling
Assembly
Fdyay.IdentityServer.Core.dll

Revokes the token a validated revocation request names.

public interface ITokenRevocationResponseGenerator

Remarks

Duende 8.0.1's ITokenRevocationResponseGenerator, measured: the hinted kind first and the other second, without a hint an access token first; only the client's own token; a reference access token is removed, and a refresh token is removed with the reference access tokens of its subject, client and session. An unknown token is not an error — RFC 7009 §2.2 answers 200 either way.

Methods

ProcessAsync(TokenRevocationRequestValidationResult, CancellationToken)

Revokes the token the validated request names, when it is one of the client's.

Task<TokenRevocationResponse> ProcessAsync(TokenRevocationRequestValidationResult validationResult, CancellationToken ct)

Parameters

validationResult TokenRevocationRequestValidationResult

The validated revocation request: the token, its type hint and the client.

ct CancellationToken

Cancels the store lookups and removals.

Returns

Task<TokenRevocationResponse>

Whether a token was revoked, and which kind.