AWSCognitoIdentityProviderTokenValidityUnitsType
Objective-C
@interface AWSCognitoIdentityProviderTokenValidityUnitsType
Swift
class AWSCognitoIdentityProviderTokenValidityUnitsType
The data type for TokenValidityUnits that specifics the time measurements for token validity.
-
A time unit in “seconds”, “minutes”, “hours”, or “days” for the value in AccessTokenValidity, defaulting to hours.
Declaration
Objective-C
@property (nonatomic) AWSCognitoIdentityProviderTimeUnitsType accessToken;
Swift
var accessToken: AWSCognitoIdentityProviderTimeUnitsType { get set }
-
A time unit in “seconds”, “minutes”, “hours”, or “days” for the value in IdTokenValidity, defaulting to hours.
Declaration
Objective-C
@property (nonatomic) AWSCognitoIdentityProviderTimeUnitsType idToken;
Swift
var idToken: AWSCognitoIdentityProviderTimeUnitsType { get set }
-
A time unit in “seconds”, “minutes”, “hours”, or “days” for the value in RefreshTokenValidity, defaulting to days.
Declaration
Objective-C
@property (nonatomic) AWSCognitoIdentityProviderTimeUnitsType refreshToken;
Swift
var refreshToken: AWSCognitoIdentityProviderTimeUnitsType { get set }