Interface OpenIdAuthenticationMapper

All Known Implementing Classes:
DefaultOpenIdAuthenticationMapper
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@DefaultImplementation(DefaultOpenIdAuthenticationMapper.class) @FunctionalInterface public interface OpenIdAuthenticationMapper
Responsible for converting an OpenID token response to a Authentication representing the authenticated user.
Since:
1.2.0
Author:
James Kleeh
  • Field Details

  • Method Details

    • createAuthenticationResponse

      @NonNull @NonNull org.reactivestreams.Publisher<AuthenticationResponse> createAuthenticationResponse(String providerName, OpenIdTokenResponse tokenResponse, OpenIdClaims openIdClaims, @Nullable @Nullable State state)
      Parameters:
      providerName - The OpenID provider name
      tokenResponse - The token response
      openIdClaims - The OpenID claims
      state - The state of the response
      Returns:
      An authentication response