Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.07 KB

File metadata and controls

32 lines (23 loc) · 1.07 KB

TokenResponse

Properties

Name Type Description Notes
access_token str Signed JWT access token
expires_in int Access token lifetime in seconds
refresh_token str Opaque refresh token for obtaining new access tokens
token_type str Token type (always Bearer)

Example

from revengai.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]