Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data CognitoIdentityProvider = CognitoIdentityProvider' {}
- newCognitoIdentityProvider :: CognitoIdentityProvider
- cognitoIdentityProvider_clientId :: Lens' CognitoIdentityProvider (Maybe Text)
- cognitoIdentityProvider_serverSideTokenCheck :: Lens' CognitoIdentityProvider (Maybe Bool)
- cognitoIdentityProvider_providerName :: Lens' CognitoIdentityProvider (Maybe Text)
Documentation
data CognitoIdentityProvider Source #
A provider representing an Amazon Cognito user pool and its client ID.
See: newCognitoIdentityProvider
smart constructor.
CognitoIdentityProvider' | |
|
Instances
newCognitoIdentityProvider :: CognitoIdentityProvider Source #
Create a value of CognitoIdentityProvider
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:CognitoIdentityProvider'
, cognitoIdentityProvider_clientId
- The client ID for the Amazon Cognito user pool.
$sel:serverSideTokenCheck:CognitoIdentityProvider'
, cognitoIdentityProvider_serverSideTokenCheck
- TRUE if server-side token validation is enabled for the identity
provider’s token.
Once you set ServerSideTokenCheck
to TRUE for an identity pool, that
identity pool will check with the integrated user pools to make sure
that the user has not been globally signed out or deleted before the
identity pool provides an OIDC token or AWS credentials for the user.
If the user is signed out or deleted, the identity pool will return a 400 Not Authorized error.
$sel:providerName:CognitoIdentityProvider'
, cognitoIdentityProvider_providerName
- The provider name for an Amazon Cognito user pool. For example,
cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
.
cognitoIdentityProvider_clientId :: Lens' CognitoIdentityProvider (Maybe Text) Source #
The client ID for the Amazon Cognito user pool.
cognitoIdentityProvider_serverSideTokenCheck :: Lens' CognitoIdentityProvider (Maybe Bool) Source #
TRUE if server-side token validation is enabled for the identity provider’s token.
Once you set ServerSideTokenCheck
to TRUE for an identity pool, that
identity pool will check with the integrated user pools to make sure
that the user has not been globally signed out or deleted before the
identity pool provides an OIDC token or AWS credentials for the user.
If the user is signed out or deleted, the identity pool will return a 400 Not Authorized error.
cognitoIdentityProvider_providerName :: Lens' CognitoIdentityProvider (Maybe Text) Source #
The provider name for an Amazon Cognito user pool. For example,
cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
.