Interface TokenIntrospectionContext
- All Superinterfaces:
InvocationContext
Token introspection context.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the OpenID claims source.@Nullable com.nimbusds.openid.connect.sdk.rp.OIDCClientInformation
If the requesting client authenticated at the introspection endpoint returns its registered information.@Nullable com.nimbusds.openid.connect.sdk.rp.OIDCClientInformation
getOIDCClientInformation
(com.nimbusds.oauth2.sdk.id.ClientID clientID) Returns the registered client information for the specifiedclient_id
.@Nullable SubjectSession
Returns the associated subject (end-user) session where the token issue was authorised.Methods inherited from interface com.nimbusds.openid.connect.provider.spi.InvocationContext
getIssuer
-
Method Details
-
getOIDCClientInformation
@Nullable com.nimbusds.openid.connect.sdk.rp.OIDCClientInformation getOIDCClientInformation()If the requesting client authenticated at the introspection endpoint returns its registered information.- Returns:
- The client information,
null
if the introspection request was authorised with an access token.
-
getOIDCClientInformation
@Nullable com.nimbusds.openid.connect.sdk.rp.OIDCClientInformation getOIDCClientInformation(com.nimbusds.oauth2.sdk.id.ClientID clientID) Returns the registered client information for the specifiedclient_id
.- Parameters:
clientID
- The client ID.- Returns:
- The registered client information,
null
if theclient_id
is invalid.
-
getClaimsSource
Returns the OpenID claims source.- Returns:
- The OpenID claims source.
-
getSubjectSession
@Nullable SubjectSession getSubjectSession()Returns the associated subject (end-user) session where the token issue was authorised.- Returns:
- The subject session,
null
if closed or expired, or not available due to the session key not being encoded into the token.
-