Interface CreateBackendAuthOAuthConfig.Builder

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