Interface CreateBackendAuthOAuthConfig.Builder

  • Method Details

    • 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

      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:
    • 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

      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

      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 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: