AWS SDK Version 3 for .NET
API Reference

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 configuration of your app client for refresh token rotation. When enabled, your app client issues new ID, access, and refresh tokens when users renew their sessions with refresh tokens. When disabled, token refresh issues only ID and access tokens.

Inheritance Hierarchy

System.Object
  Amazon.CognitoIdentityProvider.Model.RefreshTokenRotationType

Namespace: Amazon.CognitoIdentityProvider.Model
Assembly: AWSSDK.CognitoIdentityProvider.dll
Version: 3.x.y.z

Syntax

C#
public class RefreshTokenRotationType

The RefreshTokenRotationType type exposes the following members

Constructors

NameDescription
Public Method RefreshTokenRotationType()

Properties

NameTypeDescription
Public Property Feature Amazon.CognitoIdentityProvider.FeatureType

Gets and sets the property Feature.

The state of refresh token rotation for the current app client.

Public Property RetryGracePeriodSeconds System.Int32

Gets and sets the property RetryGracePeriodSeconds.

When you request a token refresh with GetTokensFromRefreshToken, the original refresh token that you're rotating out can remain valid for a period of time of up to 60 seconds. This allows for client-side retries. When RetryGracePeriodSeconds is 0, the grace period is disabled and a successful request immediately invalidates the submitted refresh token.

Version Information

.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