Interface ReactiveOpaqueTokenAuthenticationConverter
-
- 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 ReactiveOpaqueTokenAuthenticationConverter
Convert a successful introspection result into an authentication result.- Since:
- 5.8
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description reactor.core.publisher.Mono<Authentication>
convert(java.lang.String introspectedToken, OAuth2AuthenticatedPrincipal authenticatedPrincipal)
Converts a successful introspection result into an authentication result.
-
-
-
Method Detail
-
convert
reactor.core.publisher.Mono<Authentication> convert(java.lang.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
-
-