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 Summary
FieldsModifier and TypeFieldDescriptionstatic final intOrder of the customizer: after the client authentication (3) and legacy implicit (4) ones. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeclares the customizer that enables the pushed authorization request endpoint.
-
Field Details
-
ORDER
public static final int ORDEROrder of the customizer: after the client authentication (3) and legacy implicit (4) ones.- See Also:
-
-
Constructor Details
-
ParConfiguration
public ParConfiguration()
-
-
Method Details
-
parProtocolChainCustomizer
Declares the customizer that enables the pushed authorization request endpoint.- Returns:
- the customizer.
-