resetPassword
suspend fun SignIn.resetPassword(newPassword: String, signOutOfOtherSessions: Boolean = false): ClerkResult<SignIn, ClerkErrorResponse>
Resets the password after verification.
Return
A ClerkResult containing the updated SignIn object on success, or a ClerkErrorResponse on failure.
Example usage:
signIn.resetPassword(
newPassword = "newpassword",
signOutOfOtherSessions = true
)Content copied to clipboard
Parameters
newPassword
The new password to set.
signOutOfOtherSessions
Whether to sign out of other sessions. Defaults to false.