Class AddTokenEndpointAuthMethodsToClientMetadata

All Implemented Interfaces:
Component, DestructableComponent, InitializableComponent, ProfileAction, org.springframework.beans.factory.Aware, org.springframework.context.MessageSource, org.springframework.context.MessageSourceAware, org.springframework.webflow.execution.Action

public class AddTokenEndpointAuthMethodsToClientMetadata extends AbstractOIDCClientMetadataPopulationAction
An action that adds the token_endpoint_auth_method to the client metadata. If no method is requested, then ClientAuthenticationMethod.getDefault() is used. It also verifies that the requested (or default) method is enabled via the attached lookup strategy.
  • Field Details

    • log

      @Nonnull private final org.slf4j.Logger log
      Class logger.
    • tokenEndpointAuthMethodsLookupStrategy

      @Nullable private Function<ProfileRequestContext,Set<ClientAuthenticationMethod>> tokenEndpointAuthMethodsLookupStrategy
      Strategy to obtain enabled token endpoint authentication methods.
  • Constructor Details

    • AddTokenEndpointAuthMethodsToClientMetadata

      public AddTokenEndpointAuthMethodsToClientMetadata()
      Constructor.
  • Method Details