Class: LogtoCore::TokenResponse
- Inherits:
-
Struct
- Object
- Struct
- LogtoCore::TokenResponse
- Defined in:
- lib/logto/core/index_types.rb
Overview
The response from the Token Endpoint when fetching a token.
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
-
#expires_in ⇒ Object
Returns the value of attribute expires_in.
-
#id_token ⇒ Object
Returns the value of attribute id_token.
-
#refresh_token ⇒ Object
Returns the value of attribute refresh_token.
-
#scope ⇒ Object
Returns the value of attribute scope.
-
#token_type ⇒ Object
Returns the value of attribute token_type.
-
#unknown_keys ⇒ Object
Returns the value of attribute unknown_keys.
Instance Attribute Details
#access_token ⇒ Object
Returns the value of attribute access_token
20 21 22 |
# File 'lib/logto/core/index_types.rb', line 20 def access_token @access_token end |
#expires_in ⇒ Object
Returns the value of attribute expires_in
20 21 22 |
# File 'lib/logto/core/index_types.rb', line 20 def expires_in @expires_in end |
#id_token ⇒ Object
Returns the value of attribute id_token
20 21 22 |
# File 'lib/logto/core/index_types.rb', line 20 def id_token @id_token end |
#refresh_token ⇒ Object
Returns the value of attribute refresh_token
20 21 22 |
# File 'lib/logto/core/index_types.rb', line 20 def refresh_token @refresh_token end |
#scope ⇒ Object
Returns the value of attribute scope
20 21 22 |
# File 'lib/logto/core/index_types.rb', line 20 def scope @scope end |
#token_type ⇒ Object
Returns the value of attribute token_type
20 21 22 |
# File 'lib/logto/core/index_types.rb', line 20 def token_type @token_type end |
#unknown_keys ⇒ Object
Returns the value of attribute unknown_keys
20 21 22 |
# File 'lib/logto/core/index_types.rb', line 20 def unknown_keys @unknown_keys end |