Package org.keycloak.protocol.oidc
Class AccessTokenIntrospectionProvider
- java.lang.Object
-
- org.keycloak.protocol.oidc.AccessTokenIntrospectionProvider
-
- All Implemented Interfaces:
TokenIntrospectionProvider
,Provider
- Direct Known Subclasses:
RefreshTokenIntrospectionProvider
,RPTIntrospectionProvider
public class AccessTokenIntrospectionProvider extends Object implements TokenIntrospectionProvider
- Author:
- Pedro Igor
-
-
Constructor Summary
Constructors Constructor Description AccessTokenIntrospectionProvider(KeycloakSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
javax.ws.rs.core.Response
introspect(String token)
Introspect thetoken
.protected AccessToken
verifyAccessToken(String token)
-
-
-
Constructor Detail
-
AccessTokenIntrospectionProvider
public AccessTokenIntrospectionProvider(KeycloakSession session)
-
-
Method Detail
-
introspect
public javax.ws.rs.core.Response introspect(String token)
Description copied from interface:TokenIntrospectionProvider
Introspect thetoken
.- Specified by:
introspect
in interfaceTokenIntrospectionProvider
- Parameters:
token
- the token to introspect.- Returns:
- the response with the information about the token
-
verifyAccessToken
protected AccessToken verifyAccessToken(String token)
-
-