| 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 |
Amazonka.CognitoIdentityProvider.Types.TokenValidityUnitsType
Description
Synopsis
- data TokenValidityUnitsType = TokenValidityUnitsType' {}
- newTokenValidityUnitsType :: TokenValidityUnitsType
- tokenValidityUnitsType_accessToken :: Lens' TokenValidityUnitsType (Maybe TimeUnitsType)
- tokenValidityUnitsType_idToken :: Lens' TokenValidityUnitsType (Maybe TimeUnitsType)
- tokenValidityUnitsType_refreshToken :: Lens' TokenValidityUnitsType (Maybe TimeUnitsType)
Documentation
data TokenValidityUnitsType Source #
The data type TokenValidityUnits specifies the time units you use when you set the duration of ID, access, and refresh tokens.
See: newTokenValidityUnitsType smart constructor.
Constructors
| TokenValidityUnitsType' | |
Fields
| |
Instances
newTokenValidityUnitsType :: TokenValidityUnitsType Source #
Create a value of TokenValidityUnitsType 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:accessToken:TokenValidityUnitsType', tokenValidityUnitsType_accessToken - A time unit of seconds, minutes, hours, or days for the value
that you set in the AccessTokenValidity parameter. The default
AccessTokenValidity time unit is hours.
$sel:idToken:TokenValidityUnitsType', tokenValidityUnitsType_idToken - A time unit of seconds, minutes, hours, or days for the value
that you set in the IdTokenValidity parameter. The default
IdTokenValidity time unit is hours.
$sel:refreshToken:TokenValidityUnitsType', tokenValidityUnitsType_refreshToken - A time unit of seconds, minutes, hours, or days for the value
that you set in the RefreshTokenValidity parameter. The default
RefreshTokenValidity time unit is days.
tokenValidityUnitsType_accessToken :: Lens' TokenValidityUnitsType (Maybe TimeUnitsType) Source #
A time unit of seconds, minutes, hours, or days for the value
that you set in the AccessTokenValidity parameter. The default
AccessTokenValidity time unit is hours.
tokenValidityUnitsType_idToken :: Lens' TokenValidityUnitsType (Maybe TimeUnitsType) Source #
A time unit of seconds, minutes, hours, or days for the value
that you set in the IdTokenValidity parameter. The default
IdTokenValidity time unit is hours.
tokenValidityUnitsType_refreshToken :: Lens' TokenValidityUnitsType (Maybe TimeUnitsType) Source #
A time unit of seconds, minutes, hours, or days for the value
that you set in the RefreshTokenValidity parameter. The default
RefreshTokenValidity time unit is days.