Class: Auth0::ApiToken
- Inherits:
-
Struct
- Object
- Struct
- Auth0::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
6 7 8 |
# File 'lib/auth0/mixins/api_token_struct.rb', line 6 def scopes scope.split end |
#token ⇒ Object
2 3 4 |
# File 'lib/auth0/mixins/api_token_struct.rb', line 2 def token access_token end |