Response object for an oAuth authorization code.
| Name | Type | Description | Notes |
|---|---|---|---|
| access_token | str | JWT oAuth access token. Pass this token to the data services via the http header 'Authorization'. Example 'Authorization' : 'Bearer <access token>' | [optional] |
| expires_in | float | TTL of the token in seconds | [optional] |
| refresh_token | str | JWT oAuth refresh token. Pass this token to the token service to retrieve a new access token. | [optional] |
| token_type | str | Type of token returned | [optional] |
from sensorpush_api.models.token_response import TokenResponse
# TODO update the JSON string below
json = "{}"
# create an instance of TokenResponse from a JSON string
token_response_instance = TokenResponse.from_json(json)
# print the JSON string representation of the object
print TokenResponse.to_json()
# convert the object into a dict
token_response_dict = token_response_instance.to_dict()
# create an instance of TokenResponse from a dict
token_response_from_dict = TokenResponse.from_dict(token_response_dict)