libZSservicesZSamazonka-amplifybackendZSamazonka-amplifybackend
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AmplifyBackend.Types.BackendAuthSocialProviderConfig

Description

 
Synopsis

Documentation

data BackendAuthSocialProviderConfig Source #

Describes third-party social federation configurations for allowing your app users to sign in using OAuth.

See: newBackendAuthSocialProviderConfig smart constructor.

Constructors

BackendAuthSocialProviderConfig' 

Fields

  • clientId :: Maybe Text

    Describes the client_id, which can be obtained from the third-party social federation provider.

  • clientSecret :: Maybe Text

    Describes the client_secret, which can be obtained from third-party social federation providers.

Instances

Instances details
Eq BackendAuthSocialProviderConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.BackendAuthSocialProviderConfig

Read BackendAuthSocialProviderConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.BackendAuthSocialProviderConfig

Show BackendAuthSocialProviderConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.BackendAuthSocialProviderConfig

Generic BackendAuthSocialProviderConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.BackendAuthSocialProviderConfig

Associated Types

type Rep BackendAuthSocialProviderConfig :: Type -> Type #

NFData BackendAuthSocialProviderConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.BackendAuthSocialProviderConfig

Hashable BackendAuthSocialProviderConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.BackendAuthSocialProviderConfig

ToJSON BackendAuthSocialProviderConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.BackendAuthSocialProviderConfig

FromJSON BackendAuthSocialProviderConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.BackendAuthSocialProviderConfig

type Rep BackendAuthSocialProviderConfig Source # 
Instance details

Defined in Amazonka.AmplifyBackend.Types.BackendAuthSocialProviderConfig

type Rep BackendAuthSocialProviderConfig = D1 ('MetaData "BackendAuthSocialProviderConfig" "Amazonka.AmplifyBackend.Types.BackendAuthSocialProviderConfig" "libZSservicesZSamazonka-amplifybackendZSamazonka-amplifybackend" 'False) (C1 ('MetaCons "BackendAuthSocialProviderConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "clientSecret") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newBackendAuthSocialProviderConfig :: BackendAuthSocialProviderConfig Source #

Create a value of BackendAuthSocialProviderConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:clientId:BackendAuthSocialProviderConfig', backendAuthSocialProviderConfig_clientId - Describes the client_id, which can be obtained from the third-party social federation provider.

$sel:clientSecret:BackendAuthSocialProviderConfig', backendAuthSocialProviderConfig_clientSecret - Describes the client_secret, which can be obtained from third-party social federation providers.

backendAuthSocialProviderConfig_clientId :: Lens' BackendAuthSocialProviderConfig (Maybe Text) Source #

Describes the client_id, which can be obtained from the third-party social federation provider.

backendAuthSocialProviderConfig_clientSecret :: Lens' BackendAuthSocialProviderConfig (Maybe Text) Source #

Describes the client_secret, which can be obtained from third-party social federation providers.