Interface ChildProfileTokenProviderFactory
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ChildProfileTokenProviderFactory
A factory forSdkTokenProvider
that are derived from properties as defined in he given profile. Currently, this is used to allow aProfile
configured with start_url and sso_region to configure a token provider via the 'software.amazon.awssdk.services.ssooidc.internal.SsooidcTokenProviderFactory', assuming ssooidc is on the classpath.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SdkTokenProvider
create(ProfileFile profileFile, Profile profile)
Create a token provider for the provided profile.
-
-
-
Method Detail
-
create
SdkTokenProvider create(ProfileFile profileFile, Profile profile)
Create a token provider for the provided profile.- Parameters:
profileFile
- The ProfileFile from which the Profile was derived.profile
- The profile that should be used to load the configuration necessary to create the token provider.- Returns:
- The token provider with the properties derived from the source profile.
-
-