You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
frompy_logto.models.create_totp_secret200_responseimportCreateTotpSecret200Response# TODO update the JSON string belowjson="{}"# create an instance of CreateTotpSecret200Response from a JSON stringcreate_totp_secret200_response_instance=CreateTotpSecret200Response.from_json(json)
# print the JSON string representation of the objectprint(CreateTotpSecret200Response.to_json())
# convert the object into a dictcreate_totp_secret200_response_dict=create_totp_secret200_response_instance.to_dict()
# create an instance of CreateTotpSecret200Response from a dictcreate_totp_secret200_response_from_dict=CreateTotpSecret200Response.from_dict(create_totp_secret200_response_dict)