public static class ClientSettings.Builder extends AbstractSettings.AbstractBuilder<ClientSettings,ClientSettings.Builder>
ClientSettings.| Modifier and Type | Method and Description |
|---|---|
ClientSettings |
build()
Builds the
ClientSettings. |
ClientSettings.Builder |
jwkSetUrl(java.lang.String jwkSetUrl)
Sets the
URL for the Client's JSON Web Key Set. |
ClientSettings.Builder |
requireAuthorizationConsent(boolean requireAuthorizationConsent)
Set to
true if authorization consent is required when the client requests access. |
ClientSettings.Builder |
requireProofKey(boolean requireProofKey)
Set to
true if the client is required to provide a proof key challenge and verifier
when performing the Authorization Code Grant flow. |
ClientSettings.Builder |
tokenEndpointAuthenticationSigningAlgorithm(org.springframework.security.oauth2.jose.jws.JwsAlgorithm authenticationSigningAlgorithm)
Sets the
JWS algorithm that must be used for signing the JWT used to authenticate
the Client at the Token Endpoint for the private_key_jwt and
client_secret_jwt authentication methods. |
getSettings, getThis, setting, settingspublic ClientSettings.Builder requireProofKey(boolean requireProofKey)
true if the client is required to provide a proof key challenge and verifier
when performing the Authorization Code Grant flow.requireProofKey - true if the client is required to provide a proof key challenge and verifier, false otherwiseClientSettings.Builder for further configurationpublic ClientSettings.Builder requireAuthorizationConsent(boolean requireAuthorizationConsent)
true if authorization consent is required when the client requests access.
This applies to all interactive flows (e.g. authorization_code and device_code).requireAuthorizationConsent - true if authorization consent is required when the client requests access, false otherwiseClientSettings.Builder for further configurationpublic ClientSettings.Builder jwkSetUrl(java.lang.String jwkSetUrl)
URL for the Client's JSON Web Key Set.jwkSetUrl - the URL for the Client's JSON Web Key SetClientSettings.Builder for further configurationpublic ClientSettings.Builder tokenEndpointAuthenticationSigningAlgorithm(org.springframework.security.oauth2.jose.jws.JwsAlgorithm authenticationSigningAlgorithm)
JWS algorithm that must be used for signing the JWT used to authenticate
the Client at the Token Endpoint for the private_key_jwt and
client_secret_jwt authentication methods.authenticationSigningAlgorithm - the JWS algorithm that must be used for signing the JWT
used to authenticate the Client at the Token EndpointClientSettings.Builder for further configurationpublic ClientSettings build()
ClientSettings.build in class AbstractSettings.AbstractBuilder<ClientSettings,ClientSettings.Builder>ClientSettings