Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.33 KB

CreateTotpSecret200Response.md

File metadata and controls

31 lines (22 loc) · 1.33 KB

CreateTotpSecret200Response

Properties

Name Type Description Notes
verification_id str The unique verification ID for the TOTP record. This ID is required to verify the TOTP code.
secret str The newly generated TOTP secret.
secret_qr_code str A QR code image data URL for the TOTP secret. The user can scan this QR code with their TOTP authenticator app.

Example

from py_logto.models.create_totp_secret200_response import CreateTotpSecret200Response

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

# convert the object into a dict
create_totp_secret200_response_dict = create_totp_secret200_response_instance.to_dict()
# create an instance of CreateTotpSecret200Response from a dict
create_totp_secret200_response_from_dict = CreateTotpSecret200Response.from_dict(create_totp_secret200_response_dict)

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