JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.amplifybackend.model

Class CreateBackendAuthOAuthConfig

    • Constructor Detail

      • CreateBackendAuthOAuthConfig

        public CreateBackendAuthOAuthConfig()
    • Method Detail

      • setDomainPrefix

        public void setDomainPrefix(String domainPrefix)

        The domain prefix for your Amplify app.

        Parameters:
        domainPrefix - The domain prefix for your Amplify app.
      • getDomainPrefix

        public String getDomainPrefix()

        The domain prefix for your Amplify app.

        Returns:
        The domain prefix for your Amplify app.
      • withDomainPrefix

        public CreateBackendAuthOAuthConfig withDomainPrefix(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.
      • setOAuthGrantType

        public void setOAuthGrantType(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.
        See Also:
        OAuthGrantType
      • getOAuthGrantType

        public String getOAuthGrantType()

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

        Returns:
        The OAuth grant type that you use to allow app users to authenticate from your Amplify app.
        See Also:
        OAuthGrantType
      • withOAuthGrantType

        public CreateBackendAuthOAuthConfig withOAuthGrantType(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
      • withOAuthGrantType

        public CreateBackendAuthOAuthConfig withOAuthGrantType(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
      • getOAuthScopes

        public List<String> getOAuthScopes()

        List of OAuth-related flows used to allow your app users to authenticate from your Amplify app.

        Returns:
        List of OAuth-related flows used to allow your app users to authenticate from your Amplify app.
        See Also:
        OAuthScopesElement
      • setOAuthScopes

        public void setOAuthScopes(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.
        See Also:
        OAuthScopesElement
      • withOAuthScopes

        public CreateBackendAuthOAuthConfig withOAuthScopes(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.
        See Also:
        OAuthScopesElement
      • withOAuthScopes

        public CreateBackendAuthOAuthConfig withOAuthScopes(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.
        See Also:
        OAuthScopesElement
      • getRedirectSignInURIs

        public List<String> getRedirectSignInURIs()

        The redirected URI for signing in to your Amplify app.

        Returns:
        The redirected URI for signing in to your Amplify app.
      • setRedirectSignInURIs

        public void setRedirectSignInURIs(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.
      • withRedirectSignInURIs

        public CreateBackendAuthOAuthConfig withRedirectSignInURIs(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.
      • getRedirectSignOutURIs

        public List<String> getRedirectSignOutURIs()

        Redirect URLs that OAuth uses when a user signs out of an Amplify app.

        Returns:
        Redirect URLs that OAuth uses when a user signs out of an Amplify app.
      • setRedirectSignOutURIs

        public void setRedirectSignOutURIs(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.
      • withRedirectSignOutURIs

        public CreateBackendAuthOAuthConfig withRedirectSignOutURIs(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.
      • setSocialProviderSettings

        public void setSocialProviderSettings(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.
      • getSocialProviderSettings

        public SocialProviderSettings getSocialProviderSettings()

        The settings for using social providers to access your Amplify app.

        Returns:
        The settings for using social providers to access your Amplify app.
      • withSocialProviderSettings

        public CreateBackendAuthOAuthConfig withSocialProviderSettings(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.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /