Interface IKeycloakTokenIntrospectionClient
- 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
tokenstringThe access token to introspect.
cancellationTokenCancellationTokenCancellation token.
Returns
- Task<TokenIntrospectionResponse>
The introspection response, or null if the request failed.