Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.32 KB

File metadata and controls

36 lines (27 loc) · 1.32 KB

TokenResponse

OAuth2 token response

Properties

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]

Example

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)

[Back to Model list] [Back to API list] [Back to README]