Class SelectedAuthScheme<T extends Identity>
java.lang.Object
software.amazon.awssdk.core.SelectedAuthScheme<T>
A container for the identity resolver, signer and auth option that we selected for use with this service call attempt.
The Hierarchy
IDENTITY_PROVIDERS (IdentityProviders)
└── contains multiple IdentityProvider<T> instances
e.g., IdentityProvider<AwsCredentialsIdentity> for AWS credentials
e.g., IdentityProvider<TokenIdentity> for bearer tokens
AUTH_SCHEMES (Map<String, AuthScheme<?>>)
└── each AuthScheme knows:
- which IdentityProvider type it needs
- which HttpSigner to use
SELECTED_AUTH_SCHEME (SelectedAuthScheme<T>)
└── the chosen auth scheme, containing:
- identity: CompletableFuture<T> ← the resolved identity!
- signer: HttpSigner<T>
- authSchemeOption: AuthSchemeOption
-
Constructor Summary
ConstructorsConstructorDescriptionSelectedAuthScheme(CompletableFuture<? extends T> identity, HttpSigner<T> signer, AuthSchemeOption authSchemeOption) -
Method Summary
-
Constructor Details
-
SelectedAuthScheme
public SelectedAuthScheme(CompletableFuture<? extends T> identity, HttpSigner<T> signer, AuthSchemeOption authSchemeOption)
-
-
Method Details
-
identity
-
signer
-
authSchemeOption
-