Interface OpaqueTokenAuthenticationConverter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Convert a successful introspection result into an authentication result.
- Since:
- 5.8
-
Method Summary
Modifier and TypeMethodDescriptionconvert
(String introspectedToken, OAuth2AuthenticatedPrincipal authenticatedPrincipal) Converts a successful introspection result into an authentication result.
-
Method Details
-
convert
Authentication convert(String introspectedToken, OAuth2AuthenticatedPrincipal authenticatedPrincipal) Converts a successful introspection result into an authentication result.- Parameters:
introspectedToken
- the bearer token used to perform token introspectionauthenticatedPrincipal
- the result of token introspection- Returns:
- an
Authentication
instance
-