You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CognitoIdentityProvider::Types::AuthenticationResultType

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

Overview

The result type of the authentication result.

Instance Attribute Summary collapse

Instance Attribute Details

#access_tokenString

The access token of the authentication result.

Returns:

  • (String)


1413
1414
1415
1416
1417
1418
1419
1420
1421
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 1413

class AuthenticationResultType < Struct.new(
  :access_token,
  :expires_in,
  :token_type,
  :refresh_token,
  :id_token,
  :new_device_metadata)
  include Aws::Structure
end

#expires_inInteger

The expiration period of the authentication result.

Returns:

  • (Integer)


1413
1414
1415
1416
1417
1418
1419
1420
1421
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 1413

class AuthenticationResultType < Struct.new(
  :access_token,
  :expires_in,
  :token_type,
  :refresh_token,
  :id_token,
  :new_device_metadata)
  include Aws::Structure
end

#id_tokenString

The ID token of the authentication result.

Returns:

  • (String)


1413
1414
1415
1416
1417
1418
1419
1420
1421
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 1413

class AuthenticationResultType < Struct.new(
  :access_token,
  :expires_in,
  :token_type,
  :refresh_token,
  :id_token,
  :new_device_metadata)
  include Aws::Structure
end

#new_device_metadataTypes::NewDeviceMetadataType

The new device metadata from an authentication result.



1413
1414
1415
1416
1417
1418
1419
1420
1421
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 1413

class AuthenticationResultType < Struct.new(
  :access_token,
  :expires_in,
  :token_type,
  :refresh_token,
  :id_token,
  :new_device_metadata)
  include Aws::Structure
end

#refresh_tokenString

The refresh token of the authentication result.

Returns:

  • (String)


1413
1414
1415
1416
1417
1418
1419
1420
1421
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 1413

class AuthenticationResultType < Struct.new(
  :access_token,
  :expires_in,
  :token_type,
  :refresh_token,
  :id_token,
  :new_device_metadata)
  include Aws::Structure
end

#token_typeString

The token type of the authentication result.

Returns:

  • (String)


1413
1414
1415
1416
1417
1418
1419
1420
1421
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 1413

class AuthenticationResultType < Struct.new(
  :access_token,
  :expires_in,
  :token_type,
  :refresh_token,
  :id_token,
  :new_device_metadata)
  include Aws::Structure
end