Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1005 Bytes

File metadata and controls

32 lines (23 loc) · 1005 Bytes

TOTPDevice

Serializer for totp authenticator devices

Properties

Name Type Description Notes
name str The human-readable name of this device.
pk int [readonly]
user PartialUser [readonly]

Example

from authentik_client.models.totp_device import TOTPDevice

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

# convert the object into a dict
totp_device_dict = totp_device_instance.to_dict()
# create an instance of TOTPDevice from a dict
totp_device_from_dict = TOTPDevice.from_dict(totp_device_dict)

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