resetByEmail

abstract suspend fun resetByEmail(parameters: Passwords.ResetByEmailParameters): AuthResponse

Wraps Stytch’s resetByEmail endpoint. Resets an account password by using a token and password.

Return

AuthResponse response from backend

Parameters

parameters

required to reset an account password


abstract fun resetByEmail(parameters: Passwords.ResetByEmailParameters, callback: (AuthResponse) -> Unit)

Wraps Stytch’s resetByEmail endpoint. Resets an account password by using a token and password.

Parameters

parameters

required to reset an account password

callback

calls callback with AuthResponse response from backend