Class: Aws::CredentialBroker::Types::GetOAuthTokenResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::CredentialBroker::Types::GetOAuthTokenResponse
- Defined in:
- gems/aws-sdk-credentialbroker/lib/aws-sdk-credentialbroker/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:access_token]
Instance Attribute Summary collapse
-
#access_token ⇒ String
The access token.
-
#expires_at ⇒ Time
When the access token expires.
-
#session_status ⇒ String
Status of the consent session named in the request, so a repeated call can tell whether the user has finished granting consent.
Instance Attribute Details
#access_token ⇒ String
The access token. Present it to the third-party API as a bearer credential.
197 198 199 200 201 202 203 |
# File 'gems/aws-sdk-credentialbroker/lib/aws-sdk-credentialbroker/types.rb', line 197 class GetOAuthTokenResponse < Struct.new( :access_token, :expires_at, :session_status) SENSITIVE = [:access_token] include Aws::Structure end |
#expires_at ⇒ Time
When the access token expires. Absent when the authorization server does not report an expiry, in which case the token's lifetime is whatever that server applies.
197 198 199 200 201 202 203 |
# File 'gems/aws-sdk-credentialbroker/lib/aws-sdk-credentialbroker/types.rb', line 197 class GetOAuthTokenResponse < Struct.new( :access_token, :expires_at, :session_status) SENSITIVE = [:access_token] include Aws::Structure end |
#session_status ⇒ String
Status of the consent session named in the request, so a repeated call can tell whether the user has finished granting consent.
197 198 199 200 201 202 203 |
# File 'gems/aws-sdk-credentialbroker/lib/aws-sdk-credentialbroker/types.rb', line 197 class GetOAuthTokenResponse < Struct.new( :access_token, :expires_at, :session_status) SENSITIVE = [:access_token] include Aws::Structure end |