amazonka-appsync-2.0: Amazon AppSync SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AppSync.Types.OpenIDConnectConfig

Description

 
Synopsis

Documentation

data OpenIDConnectConfig Source #

Describes an OpenID Connect (OIDC) configuration.

See: newOpenIDConnectConfig smart constructor.

Constructors

OpenIDConnectConfig' 

Fields

  • authTTL :: Maybe Integer

    The number of milliseconds that a token is valid after being authenticated.

  • clientId :: Maybe Text

    The client identifier of the relying party at the OpenID identity provider. This identifier is typically obtained when the relying party is registered with the OpenID identity provider. You can specify a regular expression so that AppSync can validate against multiple client identifiers at a time.

  • iatTTL :: Maybe Integer

    The number of milliseconds that a token is valid after it's issued to a user.

  • issuer :: Text

    The issuer for the OIDC configuration. The issuer returned by discovery must exactly match the value of iss in the ID token.

Instances

Instances details
FromJSON OpenIDConnectConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenIDConnectConfig

ToJSON OpenIDConnectConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenIDConnectConfig

Generic OpenIDConnectConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenIDConnectConfig

Associated Types

type Rep OpenIDConnectConfig :: Type -> Type #

Read OpenIDConnectConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenIDConnectConfig

Show OpenIDConnectConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenIDConnectConfig

NFData OpenIDConnectConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenIDConnectConfig

Methods

rnf :: OpenIDConnectConfig -> () #

Eq OpenIDConnectConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenIDConnectConfig

Hashable OpenIDConnectConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenIDConnectConfig

type Rep OpenIDConnectConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenIDConnectConfig

type Rep OpenIDConnectConfig = D1 ('MetaData "OpenIDConnectConfig" "Amazonka.AppSync.Types.OpenIDConnectConfig" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "OpenIDConnectConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "authTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "clientId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "iatTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "issuer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newOpenIDConnectConfig Source #

Create a value of OpenIDConnectConfig 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:authTTL:OpenIDConnectConfig', openIDConnectConfig_authTTL - The number of milliseconds that a token is valid after being authenticated.

$sel:clientId:OpenIDConnectConfig', openIDConnectConfig_clientId - The client identifier of the relying party at the OpenID identity provider. This identifier is typically obtained when the relying party is registered with the OpenID identity provider. You can specify a regular expression so that AppSync can validate against multiple client identifiers at a time.

$sel:iatTTL:OpenIDConnectConfig', openIDConnectConfig_iatTTL - The number of milliseconds that a token is valid after it's issued to a user.

$sel:issuer:OpenIDConnectConfig', openIDConnectConfig_issuer - The issuer for the OIDC configuration. The issuer returned by discovery must exactly match the value of iss in the ID token.

openIDConnectConfig_authTTL :: Lens' OpenIDConnectConfig (Maybe Integer) Source #

The number of milliseconds that a token is valid after being authenticated.

openIDConnectConfig_clientId :: Lens' OpenIDConnectConfig (Maybe Text) Source #

The client identifier of the relying party at the OpenID identity provider. This identifier is typically obtained when the relying party is registered with the OpenID identity provider. You can specify a regular expression so that AppSync can validate against multiple client identifiers at a time.

openIDConnectConfig_iatTTL :: Lens' OpenIDConnectConfig (Maybe Integer) Source #

The number of milliseconds that a token is valid after it's issued to a user.

openIDConnectConfig_issuer :: Lens' OpenIDConnectConfig Text Source #

The issuer for the OIDC configuration. The issuer returned by discovery must exactly match the value of iss in the ID token.