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 time units that, with IdTokenValidity, AccessTokenValidity, and
RefreshTokenValidity, set and display the duration of ID, access, and refresh
tokens for an app client. You can assign a separate token validity unit to each type
of token.
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 for the value that you set in the |
|
IdToken | Amazon.CognitoIdentityProvider.TimeUnitsType |
Gets and sets the property IdToken.
A time unit for the value that you set in the |
|
RefreshToken | Amazon.CognitoIdentityProvider.TimeUnitsType |
Gets and sets the property RefreshToken.
A time unit for the value that you set in the |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5