Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.08 KB

File metadata and controls

35 lines (26 loc) · 1.08 KB

UserConsent

UserConsent Serializer

Properties

Name Type Description Notes
pk int [readonly]
expires datetime [optional]
expiring bool [optional]
user User
application Application
permissions str [optional] [default to '']

Example

from authentik_client.models.user_consent import UserConsent

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

# convert the object into a dict
user_consent_dict = user_consent_instance.to_dict()
# create an instance of UserConsent from a dict
user_consent_from_dict = UserConsent.from_dict(user_consent_dict)

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