libZSservicesZSamazonka-appsyncZSamazonka-appsync
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.AppSync.Types.OpenIDConnectConfig

Description

 
Synopsis

Documentation

data OpenIDConnectConfig Source #

Describes an OpenID Connect configuration.

See: newOpenIDConnectConfig smart constructor.

Constructors

OpenIDConnectConfig' 

Fields

  • authTTL :: Maybe Integer

    The number of milliseconds 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 the AppSync can validate against multiple client identifiers at a time.

  • iatTTL :: Maybe Integer

    The number of milliseconds a token is valid after being issued to a user.

  • issuer :: Text

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

Instances

Instances details
Eq OpenIDConnectConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenIDConnectConfig

Read OpenIDConnectConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenIDConnectConfig

Show 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 #

NFData OpenIDConnectConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenIDConnectConfig

Methods

rnf :: OpenIDConnectConfig -> () #

Hashable OpenIDConnectConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenIDConnectConfig

ToJSON OpenIDConnectConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.OpenIDConnectConfig

FromJSON 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" "libZSservicesZSamazonka-appsyncZSamazonka-appsync" '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 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 the AppSync can validate against multiple client identifiers at a time.

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

$sel:issuer:OpenIDConnectConfig', openIDConnectConfig_issuer - The issuer for the OpenID Connect 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 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 the AppSync can validate against multiple client identifiers at a time.

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

The number of milliseconds a token is valid after being issued to a user.

openIDConnectConfig_issuer :: Lens' OpenIDConnectConfig Text Source #

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