strengthCheck

abstract suspend fun strengthCheck(parameters: Passwords.StrengthCheckParameters): PasswordsStrengthCheckResponse

Wraps Stytch’s strengthCheck endpoint. Advises on password strength when provided an email and a password.

Return

PasswordsStrengthCheckResponse response from backend

Parameters

parameters

required to advise on password strength


abstract fun strengthCheck(parameters: Passwords.StrengthCheckParameters, callback: (PasswordsStrengthCheckResponse) -> Unit)

Wraps Stytch’s strengthCheck endpoint. Advises on password strength when provided an email and a password.

Parameters

parameters

required to advise on password strength

callback

calls callback with PasswordsStrengthCheckResponse response from backend