Interface TokenIntrospection
public interface TokenIntrospection
Introspection of a subject token in a token exchange grant.
-
Method Summary
Modifier and TypeMethodDescription@Nullable AccessTokenAuthorization
Returns the access token authorisation for a subject token that is a locally issued access token.@Nullable com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadata
Returns the metadata of the OAuth 2.0 client / OpenID relying party for a subject token that is a locally issued access token.
-
Method Details
-
getAccessTokenAuthorization
@Nullable AccessTokenAuthorization getAccessTokenAuthorization()Returns the access token authorisation for a subject token that is a locally issued access token.- Returns:
- The access token authorisation,
null
if the subject token is not a locally issued access token, invalid or expired.
-
getOIDCClientMetadata
@Nullable com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadata getOIDCClientMetadata()Returns the metadata of the OAuth 2.0 client / OpenID relying party for a subject token that is a locally issued access token.The client metadata is retrieved using the client ID from
getAccessTokenAuthorization()
.- Returns:
- The client metadata,
null
if the subject token is not a locally issued access token, invalid or expired.
-