Class ParConfiguration

java.lang.Object
com.irurueta.authserver.authorization.api.web.par.ParConfiguration

@Configuration(value="parWebConfiguration", proxyBeanMethods=false) @ConditionalOnProperty(prefix="authserver.par", name="enabled", havingValue="true") public class ParConfiguration extends Object
Enables pushed authorization requests (RFC 9126) when authserver.par.enabled is true: a client authenticates at POST /oauth2/par, receives a one-time request_uri and then sends the user to the authorization endpoint with it. The authorization endpoint's converters, the multi-factor policy and the step-up rules apply to the request exactly as they do to one sent in the query. Without the property no bean is created, the endpoint does not exist and the metadata does not advertise it.
  • Field Details

    • ORDER

      public static final int ORDER
      Order of the customizer: after the client authentication (3) and legacy implicit (4) ones.
      See Also:
  • Constructor Details

    • ParConfiguration

      public ParConfiguration()
  • Method Details

    • parProtocolChainCustomizer

      @Bean @Order(5) public ProtocolChainCustomizer parProtocolChainCustomizer()
      Declares the customizer that enables the pushed authorization request endpoint.
      Returns:
      the customizer.