AWSCognitoIdentityProviderTokenValidityUnitsType
Objective-C
@interface AWSCognitoIdentityProviderTokenValidityUnitsType
Swift
class AWSCognitoIdentityProviderTokenValidityUnitsType
The data type TokenValidityUnits specifies the time units you use when you set the duration of ID, access, and refresh tokens.
-
A time unit of
seconds,minutes,hours, ordaysfor the value that you set in theAccessTokenValidityparameter. The defaultAccessTokenValiditytime unit is hours.AccessTokenValidityduration can range from five minutes to one day.Declaration
Objective-C
@property (nonatomic) AWSCognitoIdentityProviderTimeUnitsType accessToken;Swift
var accessToken: AWSCognitoIdentityProviderTimeUnitsType { get set } -
A time unit of
seconds,minutes,hours, ordaysfor the value that you set in theIdTokenValidityparameter. The defaultIdTokenValiditytime unit is hours.IdTokenValidityduration can range from five minutes to one day.Declaration
Objective-C
@property (nonatomic) AWSCognitoIdentityProviderTimeUnitsType idToken;Swift
var idToken: AWSCognitoIdentityProviderTimeUnitsType { get set } -
A time unit of
seconds,minutes,hours, ordaysfor the value that you set in theRefreshTokenValidityparameter. The defaultRefreshTokenValiditytime unit is days.RefreshTokenValidityduration can range from 60 minutes to 10 years.Declaration
Objective-C
@property (nonatomic) AWSCognitoIdentityProviderTimeUnitsType refreshToken;Swift
var refreshToken: AWSCognitoIdentityProviderTimeUnitsType { get set }
View on GitHub
Install in Dash
AWSCognitoIdentityProviderTokenValidityUnitsType Class Reference