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)


1010
1011
1012
1013
1014
1015
1016
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 1010

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)


1010
1011
1012
1013
1014
1015
1016
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 1010

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)


1010
1011
1012
1013
1014
1015
1016
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 1010

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