Class: Aws::CognitoIdentityProvider::Types::ClientAuthenticationResultType

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

Overview

The access token and its metadata from a machine-to-machine (M2M) client credentials grant.

Constant Summary collapse

SENSITIVE =
[:access_token]

Instance Attribute Summary collapse

Instance Attribute Details

#access_tokenString

The access token for the requested app client. Present this token to a resource server to authorize a request, using the scopes granted in the token.

Returns:

  • (String)


3141
3142
3143
3144
3145
3146
3147
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 3141

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

#expires_inInteger

The number of seconds until the access token expires.

Returns:

  • (Integer)


3141
3142
3143
3144
3145
3146
3147
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 3141

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

#token_typeString

The type of the token. For example, Bearer.

Returns:

  • (String)


3141
3142
3143
3144
3145
3146
3147
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 3141

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