Class: Aws::CognitoIdentityProvider::Types::GetDerivedTokenResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentityProvider::Types::GetDerivedTokenResponse
- 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
-
#expires_in ⇒ Integer
The number of seconds until the issued token expires.
-
#issued_token ⇒ String
The token that Amazon Cognito issued in response to the token exchange request.
-
#issued_token_type ⇒ String
The type of the token in the
IssuedTokenparameter. -
#scopes ⇒ Array<String>
The scopes that Amazon Cognito granted in the issued token.
-
#token_type ⇒ String
The type of the issued token.
Instance Attribute Details
#expires_in ⇒ Integer
The number of seconds until the issued token expires.
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.
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.
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.
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.
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 |