Interface ChildProfileTokenProviderFactory
- All Known Implementing Classes:
SsoOidcProfileTokenProviderFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A factory for
SdkTokenProvider that are derived from properties as defined in he given profile.
Currently, this is used to allow a Profile 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
Modifier and TypeMethodDescriptioncreate(ProfileFile profileFile, Profile profile) Create a token provider for the provided profile.
-
Method Details
-
create
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.
-