OAuth2 token response
| Name | Type | Description | Notes |
|---|---|---|---|
| access_token | str | OAuth2 access token. | [optional] |
| token_type | str | Token type. | [optional] |
| id_token | str | OIDC ID token (JWT). Present when using OIDC with openid scope. | [optional] |
| refresh_token | str | OAuth2 refresh token. | [optional] |
| expires_in | int | Token expiration time in seconds. | [optional] |
| error | str | OAuth2 error code. | [optional] |
| error_description | str | OAuth2 error description. | [optional] |
from flightctl.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)