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 OpaqueTokenAuthenticationConverter
Convert a successful introspection result into an authentication result.
Since:
5.8
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(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 introspection
      authenticatedPrincipal - the result of token introspection
      Returns:
      an Authentication instance