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.
@FunctionalInterface public interface OpaqueTokenAuthenticationConverterConvert a successful introspection result into an authentication result.- Since:
- 5.8
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.springframework.security.core.Authenticationconvert(java.lang.String introspectedToken, org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipal authenticatedPrincipal)Converts a successful introspection result into an authentication result.
-
-
-
Method Detail
-
convert
org.springframework.security.core.Authentication convert(java.lang.String introspectedToken, org.springframework.security.oauth2.core.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
Authenticationinstance
-
-