Class: Aws::AmplifyUIBuilder::Types::ExchangeCodeForTokenResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[:access_token, :refresh_token]

Instance Attribute Summary collapse

Instance Attribute Details

#access_tokenString

The access token.

Returns:

  • (String)


1451
1452
1453
1454
1455
1456
1457
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 1451

class ExchangeCodeForTokenResponse < Struct.new(
  :access_token,
  :expires_in,
  :refresh_token)
  SENSITIVE = [:access_token, :refresh_token]
  include Aws::Structure
end

#expires_inInteger

The date and time when the new access token expires.

Returns:

  • (Integer)


1451
1452
1453
1454
1455
1456
1457
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 1451

class ExchangeCodeForTokenResponse < Struct.new(
  :access_token,
  :expires_in,
  :refresh_token)
  SENSITIVE = [:access_token, :refresh_token]
  include Aws::Structure
end

#refresh_tokenString

The token to use to refresh a previously issued access token that might have expired.

Returns:

  • (String)


1451
1452
1453
1454
1455
1456
1457
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 1451

class ExchangeCodeForTokenResponse < Struct.new(
  :access_token,
  :expires_in,
  :refresh_token)
  SENSITIVE = [:access_token, :refresh_token]
  include Aws::Structure
end