Interface OpaqueTokenIntrospector
- All Known Implementing Classes:
RemoteOpaqueTokenIntrospector
public interface OpaqueTokenIntrospector
Asks what an opaque access token grants: the resource server's half of
RFC 7662 token introspection.
RemoteOpaqueTokenIntrospector asks an
authorization server's introspection endpoint.-
Method Summary
Modifier and TypeMethodDescriptionintrospect(String token) The claims of an active token:sub,scope,client_id,expand whatever else the authorization server answers, withoutactive.
-
Method Details
-
introspect
The claims of an active token:sub,scope,client_id,expand whatever else the authorization server answers, withoutactive.- Throws:
InvalidBearerTokenException- when the token is not activeAuthenticationServiceException- when the authorization server could not be asked
-