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)


4766
4767
4768
4769
4770
4771
4772
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 4766

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)


4766
4767
4768
4769
4770
4771
4772
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 4766

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)


4766
4767
4768
4769
4770
4771
4772
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 4766

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