Class: Aws::Connect::Types::Credentials
- Inherits:
-
Struct
- Object
- Struct
- Aws::Connect::Types::Credentials
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-connect/types.rb
Overview
Contains credentials to use for federation.
Constant Summary collapse
- SENSITIVE =
[:access_token, :refresh_token]
Instance Attribute Summary collapse
-
#access_token ⇒ String
An access token generated for a federated user to access Amazon Connect.
-
#access_token_expiration ⇒ Time
A token generated with an expiration time for the session a user is logged in to Amazon Connect.
-
#refresh_token ⇒ String
Renews a token generated for a user to access the Amazon Connect instance.
-
#refresh_token_expiration ⇒ Time
Renews the expiration timer for a generated token.
Instance Attribute Details
#access_token ⇒ String
An access token generated for a federated user to access Amazon Connect.
4802 4803 4804 4805 4806 4807 4808 4809 |
# File 'lib/aws-sdk-connect/types.rb', line 4802 class Credentials < Struct.new( :access_token, :access_token_expiration, :refresh_token, :refresh_token_expiration) SENSITIVE = [:access_token, :refresh_token] include Aws::Structure end |
#access_token_expiration ⇒ Time
A token generated with an expiration time for the session a user is logged in to Amazon Connect.
4802 4803 4804 4805 4806 4807 4808 4809 |
# File 'lib/aws-sdk-connect/types.rb', line 4802 class Credentials < Struct.new( :access_token, :access_token_expiration, :refresh_token, :refresh_token_expiration) SENSITIVE = [:access_token, :refresh_token] include Aws::Structure end |
#refresh_token ⇒ String
Renews a token generated for a user to access the Amazon Connect instance.
4802 4803 4804 4805 4806 4807 4808 4809 |
# File 'lib/aws-sdk-connect/types.rb', line 4802 class Credentials < Struct.new( :access_token, :access_token_expiration, :refresh_token, :refresh_token_expiration) SENSITIVE = [:access_token, :refresh_token] include Aws::Structure end |
#refresh_token_expiration ⇒ Time
Renews the expiration timer for a generated token.
4802 4803 4804 4805 4806 4807 4808 4809 |
# File 'lib/aws-sdk-connect/types.rb', line 4802 class Credentials < Struct.new( :access_token, :access_token_expiration, :refresh_token, :refresh_token_expiration) SENSITIVE = [:access_token, :refresh_token] include Aws::Structure end |