| Name |
Type |
Description |
Notes |
| email |
str |
The email address of the user to send a password reset email to |
|
| redirect_to |
str |
The URL to redirect the user to reset their password. If the token isn't valid or expired, it'll be redirected with a query parameter `?error=INVALID_TOKEN`. If the token is valid, it'll be redirected with a query parameter `?token=VALID_TOKEN |
[optional] |
from better_auth.models.forget_password_request import ForgetPasswordRequest
# TODO update the JSON string below
json = "{}"
# create an instance of ForgetPasswordRequest from a JSON string
forget_password_request_instance = ForgetPasswordRequest.from_json(json)
# print the JSON string representation of the object
print(ForgetPasswordRequest.to_json())
# convert the object into a dict
forget_password_request_dict = forget_password_request_instance.to_dict()
# create an instance of ForgetPasswordRequest from a dict
forget_password_request_from_dict = ForgetPasswordRequest.from_dict(forget_password_request_dict)
[Back to Model list] [Back to API list] [Back to README]