public class OAuth2TokenIntrospectionHandler extends Object implements TokenIntrospectionHandler
Constructor and Description |
---|
OAuth2TokenIntrospectionHandler(TokenStore tokenStore,
OAuth2UrisFactory urisFactory) |
Modifier and Type | Method and Description |
---|---|
protected IntrospectableToken |
getIntrospectableToken(OAuth2Request request,
String tokenType,
String tokenId) |
org.forgerock.json.JsonValue |
introspect(OAuth2Request request,
String clientId,
String tokenType,
String tokenId)
Look for a token of a particular type, with a given ID, and return its introspected representation.
|
Integer |
priority()
The priority of the handler.
|
@Inject public OAuth2TokenIntrospectionHandler(TokenStore tokenStore, OAuth2UrisFactory urisFactory)
public org.forgerock.json.JsonValue introspect(OAuth2Request request, String clientId, String tokenType, String tokenId) throws ServerException, NotFoundException
TokenIntrospectionHandler
introspect
in interface TokenIntrospectionHandler
request
- The OAuth 2.0 request.clientId
- The OAuth 2.0 client making the request.tokenType
- The type of the token being introspected - could be null, in which case try and find any token
with that ID.tokenId
- The ID of the token.ServerException
NotFoundException
protected IntrospectableToken getIntrospectableToken(OAuth2Request request, String tokenType, String tokenId) throws ServerException, NotFoundException
ServerException
NotFoundException
public Integer priority()
TokenIntrospectionHandler
priority
in interface TokenIntrospectionHandler
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.