Class: Aws::CognitoIdentityProvider::Types::GetDerivedTokenResponse

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

Overview

Represents the response to a token exchange request.

Constant Summary collapse

SENSITIVE =
[:issued_token]

Instance Attribute Summary collapse

Instance Attribute Details

#expires_in ⇒ Integer

The number of seconds until the issued token expires.

Returns:

  • (Integer)


7630
7631
7632
7633
7634
7635
7636
7637
7638
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 7630

class GetDerivedTokenResponse < Struct.new(
  :issued_token,
  :issued_token_type,
  :token_type,
  :expires_in,
  :scopes)
  SENSITIVE = [:issued_token]
  include Aws::Structure
end

#issued_token ⇒ String

The token that Amazon Cognito issued in response to the token exchange request.

Returns:

  • (String)


7630
7631
7632
7633
7634
7635
7636
7637
7638
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 7630

class GetDerivedTokenResponse < Struct.new(
  :issued_token,
  :issued_token_type,
  :token_type,
  :expires_in,
  :scopes)
  SENSITIVE = [:issued_token]
  include Aws::Structure
end

#issued_token_type ⇒ String

The type of the token in the IssuedToken parameter. Valid values:

  • ACCESS_TOKEN – The issued token is an access token.

  • ID_TOKEN – The issued token is an ID token.

Returns:

  • (String)


7630
7631
7632
7633
7634
7635
7636
7637
7638
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 7630

class GetDerivedTokenResponse < Struct.new(
  :issued_token,
  :issued_token_type,
  :token_type,
  :expires_in,
  :scopes)
  SENSITIVE = [:issued_token]
  include Aws::Structure
end

#scopes ⇒ Array<String>

The scopes that Amazon Cognito granted in the issued token.

Returns:

  • (Array<String>)


7630
7631
7632
7633
7634
7635
7636
7637
7638
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 7630

class GetDerivedTokenResponse < Struct.new(
  :issued_token,
  :issued_token_type,
  :token_type,
  :expires_in,
  :scopes)
  SENSITIVE = [:issued_token]
  include Aws::Structure
end

#token_type ⇒ String

The type of the issued token. For example, Bearer.

Returns:

  • (String)


7630
7631
7632
7633
7634
7635
7636
7637
7638
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 7630

class GetDerivedTokenResponse < Struct.new(
  :issued_token,
  :issued_token_type,
  :token_type,
  :expires_in,
  :scopes)
  SENSITIVE = [:issued_token]
  include Aws::Structure
end