Class: ApiToken
- Inherits:
-
Struct
- Object
- Struct
- ApiToken
- Defined in:
- lib/auth0/mixins/api_token_struct.rb
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
-
#expires_in ⇒ Object
Returns the value of attribute expires_in.
-
#scope ⇒ Object
Returns the value of attribute scope.
Instance Method Summary collapse
Instance Attribute Details
#access_token ⇒ Object
Returns the value of attribute access_token
1 2 3 |
# File 'lib/auth0/mixins/api_token_struct.rb', line 1 def access_token @access_token end |
#expires_in ⇒ Object
Returns the value of attribute expires_in
1 2 3 |
# File 'lib/auth0/mixins/api_token_struct.rb', line 1 def expires_in @expires_in end |
#scope ⇒ Object
Returns the value of attribute scope
1 2 3 |
# File 'lib/auth0/mixins/api_token_struct.rb', line 1 def scope @scope end |
Instance Method Details
#scopes ⇒ Object
7 8 9 |
# File 'lib/auth0/mixins/api_token_struct.rb', line 7 def scopes scope.split end |
#token ⇒ Object
3 4 5 |
# File 'lib/auth0/mixins/api_token_struct.rb', line 3 def token access_token end |