Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.83 KB

File metadata and controls

37 lines (28 loc) · 1.83 KB

TwoFactorVerifyBackupCodePost200ResponseUser

The authenticated user object with two-factor details

Properties

Name Type Description Notes
id str Unique identifier of the user
email str User's email address [optional]
email_verified bool Whether the email is verified [optional]
name str User's name [optional]
image str User's profile image URL [optional]
two_factor_enabled bool Whether two-factor authentication is enabled for the user
created_at datetime Timestamp when the user was created
updated_at datetime Timestamp when the user was last updated

Example

from better_auth.models.two_factor_verify_backup_code_post200_response_user import TwoFactorVerifyBackupCodePost200ResponseUser

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

# convert the object into a dict
two_factor_verify_backup_code_post200_response_user_dict = two_factor_verify_backup_code_post200_response_user_instance.to_dict()
# create an instance of TwoFactorVerifyBackupCodePost200ResponseUser from a dict
two_factor_verify_backup_code_post200_response_user_from_dict = TwoFactorVerifyBackupCodePost200ResponseUser.from_dict(two_factor_verify_backup_code_post200_response_user_dict)

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