Interface CreateBackendAuthOAuthConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CreateBackendAuthOAuthConfig.Builder,CreateBackendAuthOAuthConfig>,SdkBuilder<CreateBackendAuthOAuthConfig.Builder,CreateBackendAuthOAuthConfig>,SdkPojo
- Enclosing class:
- CreateBackendAuthOAuthConfig
public static interface CreateBackendAuthOAuthConfig.Builder extends SdkPojo, CopyableBuilder<CreateBackendAuthOAuthConfig.Builder,CreateBackendAuthOAuthConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateBackendAuthOAuthConfig.BuilderdomainPrefix(String domainPrefix)The domain prefix for your Amplify app.CreateBackendAuthOAuthConfig.BuilderoAuthGrantType(String oAuthGrantType)The OAuth grant type that you use to allow app users to authenticate from your Amplify app.CreateBackendAuthOAuthConfig.BuilderoAuthGrantType(OAuthGrantType oAuthGrantType)The OAuth grant type that you use to allow app users to authenticate from your Amplify app.CreateBackendAuthOAuthConfig.BuilderoAuthScopes(Collection<OAuthScopesElement> oAuthScopes)List of OAuth-related flows used to allow your app users to authenticate from your Amplify app.CreateBackendAuthOAuthConfig.BuilderoAuthScopes(OAuthScopesElement... oAuthScopes)List of OAuth-related flows used to allow your app users to authenticate from your Amplify app.CreateBackendAuthOAuthConfig.BuilderoAuthScopesWithStrings(String... oAuthScopes)List of OAuth-related flows used to allow your app users to authenticate from your Amplify app.CreateBackendAuthOAuthConfig.BuilderoAuthScopesWithStrings(Collection<String> oAuthScopes)List of OAuth-related flows used to allow your app users to authenticate from your Amplify app.CreateBackendAuthOAuthConfig.BuilderredirectSignInURIs(String... redirectSignInURIs)The redirected URI for signing in to your Amplify app.CreateBackendAuthOAuthConfig.BuilderredirectSignInURIs(Collection<String> redirectSignInURIs)The redirected URI for signing in to your Amplify app.CreateBackendAuthOAuthConfig.BuilderredirectSignOutURIs(String... redirectSignOutURIs)Redirect URLs that OAuth uses when a user signs out of an Amplify app.CreateBackendAuthOAuthConfig.BuilderredirectSignOutURIs(Collection<String> redirectSignOutURIs)Redirect URLs that OAuth uses when a user signs out of an Amplify app.default CreateBackendAuthOAuthConfig.BuildersocialProviderSettings(Consumer<SocialProviderSettings.Builder> socialProviderSettings)The settings for using social providers to access your Amplify app.CreateBackendAuthOAuthConfig.BuildersocialProviderSettings(SocialProviderSettings socialProviderSettings)The settings for using social providers to access your Amplify app.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
domainPrefix
CreateBackendAuthOAuthConfig.Builder domainPrefix(String domainPrefix)
The domain prefix for your Amplify app.
- Parameters:
domainPrefix- The domain prefix for your Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuthGrantType
CreateBackendAuthOAuthConfig.Builder oAuthGrantType(String oAuthGrantType)
The OAuth grant type that you use to allow app users to authenticate from your Amplify app.
- Parameters:
oAuthGrantType- The OAuth grant type that you use to allow app users to authenticate from your Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OAuthGrantType,OAuthGrantType
-
oAuthGrantType
CreateBackendAuthOAuthConfig.Builder oAuthGrantType(OAuthGrantType oAuthGrantType)
The OAuth grant type that you use to allow app users to authenticate from your Amplify app.
- Parameters:
oAuthGrantType- The OAuth grant type that you use to allow app users to authenticate from your Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OAuthGrantType,OAuthGrantType
-
oAuthScopesWithStrings
CreateBackendAuthOAuthConfig.Builder oAuthScopesWithStrings(Collection<String> oAuthScopes)
List of OAuth-related flows used to allow your app users to authenticate from your Amplify app.
- Parameters:
oAuthScopes- List of OAuth-related flows used to allow your app users to authenticate from your Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuthScopesWithStrings
CreateBackendAuthOAuthConfig.Builder oAuthScopesWithStrings(String... oAuthScopes)
List of OAuth-related flows used to allow your app users to authenticate from your Amplify app.
- Parameters:
oAuthScopes- List of OAuth-related flows used to allow your app users to authenticate from your Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuthScopes
CreateBackendAuthOAuthConfig.Builder oAuthScopes(Collection<OAuthScopesElement> oAuthScopes)
List of OAuth-related flows used to allow your app users to authenticate from your Amplify app.
- Parameters:
oAuthScopes- List of OAuth-related flows used to allow your app users to authenticate from your Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuthScopes
CreateBackendAuthOAuthConfig.Builder oAuthScopes(OAuthScopesElement... oAuthScopes)
List of OAuth-related flows used to allow your app users to authenticate from your Amplify app.
- Parameters:
oAuthScopes- List of OAuth-related flows used to allow your app users to authenticate from your Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redirectSignInURIs
CreateBackendAuthOAuthConfig.Builder redirectSignInURIs(Collection<String> redirectSignInURIs)
The redirected URI for signing in to your Amplify app.
- Parameters:
redirectSignInURIs- The redirected URI for signing in to your Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redirectSignInURIs
CreateBackendAuthOAuthConfig.Builder redirectSignInURIs(String... redirectSignInURIs)
The redirected URI for signing in to your Amplify app.
- Parameters:
redirectSignInURIs- The redirected URI for signing in to your Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redirectSignOutURIs
CreateBackendAuthOAuthConfig.Builder redirectSignOutURIs(Collection<String> redirectSignOutURIs)
Redirect URLs that OAuth uses when a user signs out of an Amplify app.
- Parameters:
redirectSignOutURIs- Redirect URLs that OAuth uses when a user signs out of an Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redirectSignOutURIs
CreateBackendAuthOAuthConfig.Builder redirectSignOutURIs(String... redirectSignOutURIs)
Redirect URLs that OAuth uses when a user signs out of an Amplify app.
- Parameters:
redirectSignOutURIs- Redirect URLs that OAuth uses when a user signs out of an Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
socialProviderSettings
CreateBackendAuthOAuthConfig.Builder socialProviderSettings(SocialProviderSettings socialProviderSettings)
The settings for using social providers to access your Amplify app.
- Parameters:
socialProviderSettings- The settings for using social providers to access your Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
socialProviderSettings
default CreateBackendAuthOAuthConfig.Builder socialProviderSettings(Consumer<SocialProviderSettings.Builder> socialProviderSettings)
The settings for using social providers to access your Amplify app.
This is a convenience method that creates an instance of theSocialProviderSettings.Builderavoiding the need to create one manually viaSocialProviderSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosocialProviderSettings(SocialProviderSettings).- Parameters:
socialProviderSettings- a consumer that will call methods onSocialProviderSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
socialProviderSettings(SocialProviderSettings)
-
-