AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The data type TokenValidityUnits specifies the time units you use when you set the duration of ID, access, and refresh tokens.
Namespace: Amazon.CognitoIdentityProvider.Model
Assembly: AWSSDK.CognitoIdentityProvider.dll
Version: 3.x.y.z
public class TokenValidityUnitsType
The TokenValidityUnitsType type exposes the following members
Name | Description | |
---|---|---|
TokenValidityUnitsType() |
Name | Type | Description | |
---|---|---|---|
AccessToken | Amazon.CognitoIdentityProvider.TimeUnitsType |
Gets and sets the property AccessToken.
A time unit of |
|
IdToken | Amazon.CognitoIdentityProvider.TimeUnitsType |
Gets and sets the property IdToken.
A time unit of |
|
RefreshToken | Amazon.CognitoIdentityProvider.TimeUnitsType |
Gets and sets the property RefreshToken.
A time unit of |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5