class Aws::AmplifyBackend::Types::UpdateBackendAuthOAuthConfig

The OAuth configurations for authenticating users into your Amplify app.

@note When making an API call, you may pass UpdateBackendAuthOAuthConfig

data as a hash:

    {
      domain_prefix: "__string",
      o_auth_grant_type: "CODE", # accepts CODE, IMPLICIT
      o_auth_scopes: ["PHONE"], # accepts PHONE, EMAIL, OPENID, PROFILE, AWS_COGNITO_SIGNIN_USER_ADMIN
      redirect_sign_in_ur_is: ["__string"],
      redirect_sign_out_ur_is: ["__string"],
      social_provider_settings: {
        facebook: {
          client_id: "__string",
          client_secret: "__string",
        },
        google: {
          client_id: "__string",
          client_secret: "__string",
        },
        login_with_amazon: {
          client_id: "__string",
          client_secret: "__string",
        },
        sign_in_with_apple: {
          client_id: "__string",
          key_id: "__string",
          private_key: "__string",
          team_id: "__string",
        },
      },
    }

@!attribute [rw] domain_prefix

The Amazon Cognito domain prefix used to create a hosted UI for
authentication.
@return [String]

@!attribute [rw] o_auth_grant_type

The OAuth grant type to allow app users to authenticate from your
Amplify app.
@return [String]

@!attribute [rw] o_auth_scopes

The list of OAuth-related flows that can allow users to authenticate
from your Amplify app.
@return [Array<String>]

@!attribute [rw] redirect_sign_in_ur_is

Redirect URLs that OAuth uses when a user signs in to an Amplify
app.
@return [Array<String>]

@!attribute [rw] redirect_sign_out_ur_is

Redirect URLs that OAuth uses when a user signs out of an Amplify
app.
@return [Array<String>]

@!attribute [rw] social_provider_settings

Describes third-party social federation configurations for allowing
your users to sign in with OAuth.
@return [Types::SocialProviderSettings]

@see docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAuthOAuthConfig AWS API Documentation

Constants

SENSITIVE