Class SsoOidcProfileTokenProviderFactory
java.lang.Object
software.amazon.awssdk.services.ssooidc.SsoOidcProfileTokenProviderFactory
- All Implemented Interfaces:
ChildProfileTokenProviderFactory
public final class SsoOidcProfileTokenProviderFactory
extends Object
implements ChildProfileTokenProviderFactory
Factory for creating
SsoOidcTokenProvider
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(Supplier<ProfileFile> profileFile, String profileName) create
(ProfileFile profileFile, Profile profile) Create a token provider for the provided profile.
-
Constructor Details
-
SsoOidcProfileTokenProviderFactory
public SsoOidcProfileTokenProviderFactory()
-
-
Method Details
-
create
Description copied from interface:ChildProfileTokenProviderFactory
Create a token provider for the provided profile.- Specified by:
create
in interfaceChildProfileTokenProviderFactory
- 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.
-
create
-