public final class ClientSettings extends AbstractSettings
AbstractSettings,
ConfigurationSettingNames.Client,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
ClientSettings.Builder
A builder for
ClientSettings. |
AbstractSettings.AbstractBuilder<T extends AbstractSettings,B extends AbstractSettings.AbstractBuilder<T,B>>| Modifier and Type | Method and Description |
|---|---|
static ClientSettings.Builder |
builder()
Constructs a new
ClientSettings.Builder with the default settings. |
java.lang.String |
getJwkSetUrl()
Returns the
URL for the Client's JSON Web Key Set. |
org.springframework.security.oauth2.jose.jws.JwsAlgorithm |
getTokenEndpointAuthenticationSigningAlgorithm()
Returns 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. |
boolean |
isRequireAuthorizationConsent()
Returns
true if authorization consent is required when the client requests access. |
boolean |
isRequireProofKey()
Returns
true if the client is required to provide a proof key challenge and verifier
when performing the Authorization Code Grant flow. |
static ClientSettings.Builder |
withSettings(java.util.Map<java.lang.String,java.lang.Object> settings)
Constructs a new
ClientSettings.Builder with the provided settings. |
equals, getSetting, getSettings, hashCode, toStringpublic boolean isRequireProofKey()
true if the client is required to provide a proof key challenge and verifier
when performing the Authorization Code Grant flow. The default is false.true if the client is required to provide a proof key challenge and verifier, false otherwisepublic boolean isRequireAuthorizationConsent()
true if authorization consent is required when the client requests access.
The default is false.true if authorization consent is required when the client requests access, false otherwisepublic java.lang.String getJwkSetUrl()
URL for the Client's JSON Web Key Set.URL for the Client's JSON Web Key Setpublic org.springframework.security.oauth2.jose.jws.JwsAlgorithm getTokenEndpointAuthenticationSigningAlgorithm()
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.JWS algorithm that must be used for signing the JWT used to authenticate the Client at the Token Endpointpublic static ClientSettings.Builder builder()
ClientSettings.Builder with the default settings.ClientSettings.Builderpublic static ClientSettings.Builder withSettings(java.util.Map<java.lang.String,java.lang.Object> settings)
ClientSettings.Builder with the provided settings.settings - the settings to initialize the builderClientSettings.Builder