Class TokenAuthorizationStrategy
java.lang.Object
software.amazon.awssdk.awscore.internal.authcontext.TokenAuthorizationStrategy
- All Implemented Interfaces:
- AuthorizationStrategy
@Deprecated
@SdkInternalApi
public final class TokenAuthorizationStrategy
extends Object
implements AuthorizationStrategy
Deprecated.
This is only used for compatibility with pre-SRA authorization logic. After we are comfortable that the new code
 paths are working, we should migrate old clients to the new code paths (where possible) and delete this code.
An authorization strategy for tokens that can resolve a compatible signer as
 well as provide a resolved token as an execution attribute.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classDeprecated.
- 
Constructor SummaryConstructorsConstructorDescriptionDeprecated.
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddCredentialsToExecutionAttributes(ExecutionAttributes executionAttributes) Deprecated.Add credentials to be used by the signer in later stages.builder()Deprecated.Deprecated.Request override signers take precedence over the default alternative, for instance what is specified in the client.
- 
Constructor Details- 
TokenAuthorizationStrategyDeprecated.
 
- 
- 
Method Details- 
builderDeprecated.
- 
resolveSignerDeprecated.Request override signers take precedence over the default alternative, for instance what is specified in the client. Request override signers can also be modified by modifyRequest interceptors.- Specified by:
- resolveSignerin interface- AuthorizationStrategy
- Returns:
- The signer that will be used by the SDK to sign the request
 
- 
addCredentialsToExecutionAttributesDeprecated.Add credentials to be used by the signer in later stages.- Specified by:
- addCredentialsToExecutionAttributesin interface- AuthorizationStrategy
 
 
-