resetBySession

Reset the user’s password and authenticate them. This endpoint checks that the session is valid and hasn’t expired or been revoked. The provided password needs to meet our password strength requirements, which can be checked in advance with the password strength endpoint. If the password and accompanying parameters are accepted, the password is securely stored for future authentication and the user is authenticated.

Return

AuthResponse

Parameters

parameters

required to reset a user's password


abstract fun resetBySession(parameters: Passwords.ResetBySessionParameters, callback: (AuthResponse) -> Unit)

Reset the user’s password and authenticate them. This endpoint checks that the session is valid and hasn’t expired or been revoked. The provided password needs to meet our password strength requirements, which can be checked in advance with the password strength endpoint. If the password and accompanying parameters are accepted, the password is securely stored for future authentication and the user is authenticated.

Parameters

parameters

required to reset a user's password

callback

a callback that receives an AuthResponse