Class TokenAuthorizationStrategy
java.lang.Object
software.amazon.awssdk.awscore.internal.authcontext.TokenAuthorizationStrategy
- All Implemented Interfaces:
AuthorizationStrategy
@Deprecated
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 Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Deprecated. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCredentialsToExecutionAttributes
(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
-
TokenAuthorizationStrategy
Deprecated.
-
-
Method Details
-
builder
Deprecated. -
resolveSigner
Deprecated.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:
resolveSigner
in interfaceAuthorizationStrategy
- Returns:
- The signer that will be used by the SDK to sign the request
-
addCredentialsToExecutionAttributes
Deprecated.Add credentials to be used by the signer in later stages.- Specified by:
addCredentialsToExecutionAttributes
in interfaceAuthorizationStrategy
-