Class: Aws::CognitoIdentityProvider::Types::AssociateSoftwareTokenRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentityProvider::Types::AssociateSoftwareTokenRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cognitoidentityprovider/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:access_token, :session]
Instance Attribute Summary collapse
-
#access_token ⇒ String
A valid access token that Amazon Cognito issued to the currently signed-in user.
-
#session ⇒ String
The session identifier that maintains the state of authentication requests and challenge responses.
Instance Attribute Details
#access_token ⇒ String
A valid access token that Amazon Cognito issued to the currently signed-in user. Must include a scope claim for ‘aws.cognito.signin.user.admin`.
You can provide either an access token or a session ID in the request.
2589 2590 2591 2592 2593 2594 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2589 class AssociateSoftwareTokenRequest < Struct.new( :access_token, :session) SENSITIVE = [:access_token, :session] include Aws::Structure end |
#session ⇒ String
The session identifier that maintains the state of authentication requests and challenge responses. In ‘AssociateSoftwareToken`, this is the session ID from a successful sign-in. You can provide either an access token or a session ID in the request.
2589 2590 2591 2592 2593 2594 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2589 class AssociateSoftwareTokenRequest < Struct.new( :access_token, :session) SENSITIVE = [:access_token, :session] include Aws::Structure end |