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 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 introspection
        authenticatedPrincipal - the result of token introspection
        Returns:
        an Authentication instance