Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data OpenIDConnectConfig = OpenIDConnectConfig' {}
- newOpenIDConnectConfig :: Text -> OpenIDConnectConfig
- openIDConnectConfig_authTTL :: Lens' OpenIDConnectConfig (Maybe Integer)
- openIDConnectConfig_clientId :: Lens' OpenIDConnectConfig (Maybe Text)
- openIDConnectConfig_iatTTL :: Lens' OpenIDConnectConfig (Maybe Integer)
- openIDConnectConfig_issuer :: Lens' OpenIDConnectConfig Text
Documentation
data OpenIDConnectConfig Source #
Describes an OpenID Connect (OIDC) configuration.
See: newOpenIDConnectConfig
smart constructor.
OpenIDConnectConfig' | |
|
Instances
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.