Class: Aws::CognitoIdentityProvider::Types::ClientAuthenticationResultType
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentityProvider::Types::ClientAuthenticationResultType
- 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
-
#access_token ⇒ String
The access token for the requested app client.
-
#expires_in ⇒ Integer
The number of seconds until the access token expires.
-
#token_type ⇒ String
The type of the token.
Instance Attribute Details
#access_token ⇒ String
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.
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_in ⇒ Integer
The number of seconds until the access token expires.
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_type ⇒ String
The type of the token. For example, Bearer.
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 |