Interface UpdateBackendAuthOAuthConfig.Builder

    • Method Detail

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

        UpdateBackendAuthOAuthConfig.Builder oAuthScopes​(Collection<OAuthScopesElement> 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

        UpdateBackendAuthOAuthConfig.Builder oAuthScopes​(OAuthScopesElement... 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.