Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.12 KB

File metadata and controls

31 lines (22 loc) · 1.12 KB

ChangePasswordRequest

Properties

Name Type Description Notes
new_password str The new password to set
current_password str The current password is required
revoke_other_sessions bool Must be a boolean value [optional]

Example

from better_auth.models.change_password_request import ChangePasswordRequest

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

# convert the object into a dict
change_password_request_dict = change_password_request_instance.to_dict()
# create an instance of ChangePasswordRequest from a dict
change_password_request_from_dict = ChangePasswordRequest.from_dict(change_password_request_dict)

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