Class: Aws::CredentialBroker::Types::StartOAuthSessionResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::CredentialBroker::Types::StartOAuthSessionResponse
- 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
Present only when a valid token already existed (no consent needed).
-
#authorization_url ⇒ String
The URL to send the end user's browser to so they can grant consent.
-
#expires_at ⇒ Time
Expiry of accessToken when returned.
-
#session_status ⇒ String
Status of the session (IN_PROGRESS when consent is required).
-
#session_uri ⇒ String
Opaque handle to the pending consent session.
Instance Attribute Details
#access_token ⇒ String
Present only when a valid token already existed (no consent needed).
392 393 394 395 396 397 398 399 400 |
# File 'gems/aws-sdk-credentialbroker/lib/aws-sdk-credentialbroker/types.rb', line 392 class StartOAuthSessionResponse < Struct.new( :authorization_url, :session_uri, :session_status, :access_token, :expires_at) SENSITIVE = [:access_token] include Aws::Structure end |
#authorization_url ⇒ String
The URL to send the end user's browser to so they can grant consent. Present only when consent is required; absent when a token was available and is returned instead.
392 393 394 395 396 397 398 399 400 |
# File 'gems/aws-sdk-credentialbroker/lib/aws-sdk-credentialbroker/types.rb', line 392 class StartOAuthSessionResponse < Struct.new( :authorization_url, :session_uri, :session_status, :access_token, :expires_at) SENSITIVE = [:access_token] include Aws::Structure end |
#expires_at ⇒ Time
Expiry of accessToken when returned.
392 393 394 395 396 397 398 399 400 |
# File 'gems/aws-sdk-credentialbroker/lib/aws-sdk-credentialbroker/types.rb', line 392 class StartOAuthSessionResponse < Struct.new( :authorization_url, :session_uri, :session_status, :access_token, :expires_at) SENSITIVE = [:access_token] include Aws::Structure end |
#session_status ⇒ String
Status of the session (IN_PROGRESS when consent is required).
392 393 394 395 396 397 398 399 400 |
# File 'gems/aws-sdk-credentialbroker/lib/aws-sdk-credentialbroker/types.rb', line 392 class StartOAuthSessionResponse < Struct.new( :authorization_url, :session_uri, :session_status, :access_token, :expires_at) SENSITIVE = [:access_token] include Aws::Structure end |
#session_uri ⇒ String
Opaque handle to the pending consent session. Present only when interactive consent is required (absent when accessToken is returned).
392 393 394 395 396 397 398 399 400 |
# File 'gems/aws-sdk-credentialbroker/lib/aws-sdk-credentialbroker/types.rb', line 392 class StartOAuthSessionResponse < Struct.new( :authorization_url, :session_uri, :session_status, :access_token, :expires_at) SENSITIVE = [:access_token] include Aws::Structure end |