Interface LightsailAuthSchemeProvider
- All Superinterfaces:
AuthSchemeProvider
- All Known Implementing Classes:
DefaultLightsailAuthSchemeProvider,PreferredLightsailAuthSchemeProvider
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
public interface LightsailAuthSchemeProvider
extends AuthSchemeProvider
An auth scheme provider for Lightsail service. The auth scheme provider takes a set of parameters using
LightsailAuthSchemeParams, and resolves a list of AuthSchemeOption based on the given parameters.-
Method Summary
Modifier and TypeMethodDescriptionstatic LightsailAuthSchemeProviderGet the default auth scheme provider.static LightsailAuthSchemeProviderdefaultProvider(List<String> authSchemePreference) Get the default auth scheme provider the preferred auth schemes in order of preference.default List<AuthSchemeOption> Resolve the auth schemes based on the given set of parameters.resolveAuthScheme(LightsailAuthSchemeParams authSchemeParams) Resolve the auth schemes based on the given set of parameters.
-
Method Details
-
resolveAuthScheme
Resolve the auth schemes based on the given set of parameters. -
resolveAuthScheme
default List<AuthSchemeOption> resolveAuthScheme(Consumer<LightsailAuthSchemeParams.Builder> consumer) Resolve the auth schemes based on the given set of parameters. -
defaultProvider
Get the default auth scheme provider. -
defaultProvider
Get the default auth scheme provider the preferred auth schemes in order of preference.
-