Class OnBehalfOfTokenExchangeConfigurationInput
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OnBehalfOfTokenExchangeConfigurationInput.Builder,OnBehalfOfTokenExchangeConfigurationInput>
Configures on-behalf-of token exchange (RFC 8693) for a credential provider, so the provider can trade a token
identifying a user for a token scoped to another audience while preserving that user's identity. Supply this to
enable the TOKEN_EXCHANGE grant; omit it on update to leave the existing exchange configuration
unchanged.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionbuilder()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 OnBehalfOfTokenExchangeConfigurationInput.Builder> Where an on-behalf-of token exchange gets the subject token.Take this object and create a builder that contains all of the current property values of this object.The actor presented alongside the subject in a token exchange, the party acting on the user's behalf.How the provider authenticates to the authorization server when making the token exchange request.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
subjectTokenSource
Where an on-behalf-of token exchange gets the subject token. The token identifying the user the exchanged token will represent. Set exactly one member.
- Returns:
- Where an on-behalf-of token exchange gets the subject token. The token identifying the user the exchanged token will represent. Set exactly one member.
-
tokenExchangeActorConfiguration
The actor presented alongside the subject in a token exchange, the party acting on the user's behalf. Omit to send no actor token.
- Returns:
- The actor presented alongside the subject in a token exchange, the party acting on the user's behalf. Omit to send no actor token.
-
tokenExchangeRequesterConfiguration
How the provider authenticates to the authorization server when making the token exchange request. Set exactly one member. This is separate from the provider's main client, so an exchange can present a different client than the one used to obtain the subject token.
- Returns:
- How the provider authenticates to the authorization server when making the token exchange request. Set exactly one member. This is separate from the provider's main client, so an exchange can present a different client than the one used to obtain the subject token.
-
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<OnBehalfOfTokenExchangeConfigurationInput.Builder,OnBehalfOfTokenExchangeConfigurationInput> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends OnBehalfOfTokenExchangeConfigurationInput.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.
-