Class: Aws::CognitoIdentityProvider::Types::RefreshTokenRotationType

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#featureString

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

Returns:

  • (String)


10027
10028
10029
10030
10031
10032
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 10027

class RefreshTokenRotationType < Struct.new(
  :feature,
  :retry_grace_period_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#retry_grace_period_secondsInteger

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.

Returns:

  • (Integer)


10027
10028
10029
10030
10031
10032
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 10027

class RefreshTokenRotationType < Struct.new(
  :feature,
  :retry_grace_period_seconds)
  SENSITIVE = []
  include Aws::Structure
end