Class: Vcert::TokenInfo
- Inherits:
-
Object
- Object
- Vcert::TokenInfo
- Defined in:
- lib/utils/utils.rb
Instance Attribute Summary collapse
-
#access_token ⇒ Object
readonly
Returns the value of attribute access_token.
-
#expires ⇒ Object
readonly
Returns the value of attribute expires.
-
#identity ⇒ Object
readonly
Returns the value of attribute identity.
-
#refresh_token ⇒ Object
readonly
Returns the value of attribute refresh_token.
-
#refresh_until ⇒ Object
readonly
Returns the value of attribute refresh_until.
-
#scope ⇒ Object
readonly
Returns the value of attribute scope.
-
#token_type ⇒ Object
readonly
Returns the value of attribute token_type.
Instance Method Summary collapse
-
#initialize(access_token, expires, identity, refresh_token, refresh_until, scope, token_type) ⇒ TokenInfo
constructor
A new instance of TokenInfo.
Constructor Details
#initialize(access_token, expires, identity, refresh_token, refresh_until, scope, token_type) ⇒ TokenInfo
Returns a new instance of TokenInfo.
137 138 139 140 141 142 143 144 145 |
# File 'lib/utils/utils.rb', line 137 def initialize (access_token, expires, identity, refresh_token, refresh_until, scope, token_type) @access_token = access_token @refresh_token = refresh_token @refresh_until = refresh_until @expires = expires @identity = identity @scope = scope @token_type = token_type end |
Instance Attribute Details
#access_token ⇒ Object (readonly)
Returns the value of attribute access_token.
135 136 137 |
# File 'lib/utils/utils.rb', line 135 def access_token @access_token end |
#expires ⇒ Object (readonly)
Returns the value of attribute expires.
135 136 137 |
# File 'lib/utils/utils.rb', line 135 def expires @expires end |
#identity ⇒ Object (readonly)
Returns the value of attribute identity.
135 136 137 |
# File 'lib/utils/utils.rb', line 135 def identity @identity end |
#refresh_token ⇒ Object (readonly)
Returns the value of attribute refresh_token.
135 136 137 |
# File 'lib/utils/utils.rb', line 135 def refresh_token @refresh_token end |
#refresh_until ⇒ Object (readonly)
Returns the value of attribute refresh_until.
135 136 137 |
# File 'lib/utils/utils.rb', line 135 def refresh_until @refresh_until end |
#scope ⇒ Object (readonly)
Returns the value of attribute scope.
135 136 137 |
# File 'lib/utils/utils.rb', line 135 def scope @scope end |
#token_type ⇒ Object (readonly)
Returns the value of attribute token_type.
135 136 137 |
# File 'lib/utils/utils.rb', line 135 def token_type @token_type end |