Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.38 KB

File metadata and controls

36 lines (27 loc) · 1.38 KB

TokenRequest

Token Serializer

Properties

Name Type Description Notes
managed str Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update. [optional]
identifier str
intent IntentEnum [optional]
user int [optional]
description str [optional]
expires datetime [optional]
expiring bool [optional]

Example

from authentik_client.models.token_request import TokenRequest

# TODO update the JSON string below
json = "{}"
# create an instance of TokenRequest from a JSON string
token_request_instance = TokenRequest.from_json(json)
# print the JSON string representation of the object
print(TokenRequest.to_json())

# convert the object into a dict
token_request_dict = token_request_instance.to_dict()
# create an instance of TokenRequest from a dict
token_request_from_dict = TokenRequest.from_dict(token_request_dict)

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