Interface UpdateBackendAuthOAuthConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<UpdateBackendAuthOAuthConfig.Builder,UpdateBackendAuthOAuthConfig>, SdkBuilder<UpdateBackendAuthOAuthConfig.Builder,UpdateBackendAuthOAuthConfig>, SdkPojo
Enclosing class:
UpdateBackendAuthOAuthConfig

public static interface UpdateBackendAuthOAuthConfig.Builder extends SdkPojo, CopyableBuilder<UpdateBackendAuthOAuthConfig.Builder,UpdateBackendAuthOAuthConfig>
  • Method Details

    • domainPrefix

      UpdateBackendAuthOAuthConfig.Builder domainPrefix(String domainPrefix)

      The Amazon Cognito domain prefix used to create a hosted UI for authentication.

      Parameters:
      domainPrefix - The Amazon Cognito domain prefix used to create a hosted UI for authentication.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • oAuthGrantType

      UpdateBackendAuthOAuthConfig.Builder oAuthGrantType(String oAuthGrantType)

      The OAuth grant type to allow app users to authenticate from your Amplify app.

      Parameters:
      oAuthGrantType - The OAuth grant type 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

      UpdateBackendAuthOAuthConfig.Builder oAuthGrantType(OAuthGrantType oAuthGrantType)

      The OAuth grant type to allow app users to authenticate from your Amplify app.

      Parameters:
      oAuthGrantType - The OAuth grant type 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:
    • oAuthScopesWithStrings

      UpdateBackendAuthOAuthConfig.Builder oAuthScopesWithStrings(Collection<String> oAuthScopes)

      The list of OAuth-related flows that can allow users to authenticate from your Amplify app.

      Parameters:
      oAuthScopes - The list of OAuth-related flows that can allow users to authenticate from your Amplify app.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • oAuthScopesWithStrings

      UpdateBackendAuthOAuthConfig.Builder oAuthScopesWithStrings(String... oAuthScopes)

      The list of OAuth-related flows that can allow users to authenticate from your Amplify app.

      Parameters:
      oAuthScopes - The list of OAuth-related flows that can allow users to authenticate from your Amplify app.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • oAuthScopes

      The list of OAuth-related flows that can allow users to authenticate from your Amplify app.

      Parameters:
      oAuthScopes - The list of OAuth-related flows that can allow users to authenticate from your Amplify app.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • oAuthScopes

      The list of OAuth-related flows that can allow users to authenticate from your Amplify app.

      Parameters:
      oAuthScopes - The list of OAuth-related flows that can allow users to authenticate from your Amplify app.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • redirectSignInURIs

      UpdateBackendAuthOAuthConfig.Builder redirectSignInURIs(Collection<String> redirectSignInURIs)

      Redirect URLs that OAuth uses when a user signs in to an Amplify app.

      Parameters:
      redirectSignInURIs - Redirect URLs that OAuth uses when a user signs in to an Amplify app.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • redirectSignInURIs

      UpdateBackendAuthOAuthConfig.Builder redirectSignInURIs(String... redirectSignInURIs)

      Redirect URLs that OAuth uses when a user signs in to an Amplify app.

      Parameters:
      redirectSignInURIs - Redirect URLs that OAuth uses when a user signs in to an Amplify app.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • redirectSignOutURIs

      UpdateBackendAuthOAuthConfig.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

      UpdateBackendAuthOAuthConfig.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

      UpdateBackendAuthOAuthConfig.Builder socialProviderSettings(SocialProviderSettings socialProviderSettings)

      Describes third-party social federation configurations for allowing your users to sign in with OAuth.

      Parameters:
      socialProviderSettings - Describes third-party social federation configurations for allowing your users to sign in with OAuth.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • socialProviderSettings

      default UpdateBackendAuthOAuthConfig.Builder socialProviderSettings(Consumer<SocialProviderSettings.Builder> socialProviderSettings)

      Describes third-party social federation configurations for allowing your users to sign in with OAuth.

      This is a convenience method that creates an instance of the SocialProviderSettings.Builder avoiding the need to create one manually via SocialProviderSettings.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to socialProviderSettings(SocialProviderSettings).

      Parameters:
      socialProviderSettings - a consumer that will call methods on SocialProviderSettings.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: