Table of Contents

Interface IKeycloakTokenIntrospectionClient

Namespace
Keycloak.AuthServices.Authorization.TokenIntrospection
Assembly
Keycloak.AuthServices.Authorization.TokenIntrospection.dll

Client for Keycloak token introspection endpoint. Resolves the full claim set for lightweight access tokens.

public interface IKeycloakTokenIntrospectionClient

Methods

IntrospectTokenAsync(string, CancellationToken)

Introspects the given access token and returns the full claim set.

Task<TokenIntrospectionResponse?> IntrospectTokenAsync(string token, CancellationToken cancellationToken = default)

Parameters

token string

The access token to introspect.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<TokenIntrospectionResponse>

The introspection response, or null if the request failed.