Class ClientAuthenticationConfigurationOutput
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ClientAuthenticationConfigurationOutput.Builder,ClientAuthenticationConfigurationOutput>
The client credentials this provider uses to authenticate to its authorization server. The client secret is reported as an AWS Secrets Manager ARN, never as a value.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionbuilder()How a credential provider authenticates itself to its authorization server on token requests.final StringHow a credential provider authenticates itself to its authorization server on token requests.final StringclientId()OAuth client identifier registered with the authorization server.final StringThe Amazon Resource Name (ARN) of the AWS Secrets Manager secret holding the client secret.final StringKey to read from the secret's JSON payload.final ClientSecretSourceWhether the client secret is held in a secret the service owns or in one you own.final StringWhether the client secret is held in a secret the service owns or in one you own.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends ClientAuthenticationConfigurationOutput.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
clientAuthenticationMethod
How a credential provider authenticates itself to its authorization server on token requests. The authorization server decides which methods it accepts, so choose the one it is configured for.
If the service returns an enum value that is not available in the current SDK version,
clientAuthenticationMethodwill returnClientAuthenticationMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromclientAuthenticationMethodAsString().- Returns:
- How a credential provider authenticates itself to its authorization server on token requests. The authorization server decides which methods it accepts, so choose the one it is configured for.
- See Also:
-
clientAuthenticationMethodAsString
How a credential provider authenticates itself to its authorization server on token requests. The authorization server decides which methods it accepts, so choose the one it is configured for.
If the service returns an enum value that is not available in the current SDK version,
clientAuthenticationMethodwill returnClientAuthenticationMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromclientAuthenticationMethodAsString().- Returns:
- How a credential provider authenticates itself to its authorization server on token requests. The authorization server decides which methods it accepts, so choose the one it is configured for.
- See Also:
-
clientId
OAuth client identifier registered with the authorization server.
- Returns:
- OAuth client identifier registered with the authorization server.
-
clientSecretArn
The Amazon Resource Name (ARN) of the AWS Secrets Manager secret holding the client secret. Present when clientAuthenticationMethod is CLIENT_SECRET_BASIC or CLIENT_SECRET_POST; absent for a public client authenticating with NONE.
- Returns:
- The Amazon Resource Name (ARN) of the AWS Secrets Manager secret holding the client secret. Present when clientAuthenticationMethod is CLIENT_SECRET_BASIC or CLIENT_SECRET_POST; absent for a public client authenticating with NONE.
-
clientSecretJsonKey
Key to read from the secret's JSON payload. The secret value must be a JSON object, and this key must be present in it; the value stored under the key is used as the credential.
- Returns:
- Key to read from the secret's JSON payload. The secret value must be a JSON object, and this key must be present in it; the value stored under the key is used as the credential.
-
clientSecretSource
Whether the client secret is held in a secret the service owns or in one you own.
If the service returns an enum value that is not available in the current SDK version,
clientSecretSourcewill returnClientSecretSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromclientSecretSourceAsString().- Returns:
- Whether the client secret is held in a secret the service owns or in one you own.
- See Also:
-
clientSecretSourceAsString
Whether the client secret is held in a secret the service owns or in one you own.
If the service returns an enum value that is not available in the current SDK version,
clientSecretSourcewill returnClientSecretSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromclientSecretSourceAsString().- Returns:
- Whether the client secret is held in a secret the service owns or in one you own.
- See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ClientAuthenticationConfigurationOutput.Builder,ClientAuthenticationConfigurationOutput> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends ClientAuthenticationConfigurationOutput.Builder> serializableBuilderClass() -
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-