create

abstract suspend fun create(parameters: Passwords.CreateParameters): PasswordsCreateResponse

Wraps Stytch’s passwords create endpoint. Creates an account using an email and password given that an account with such an email does not already exist.

Return

PasswordsCreateResponse response from backend

Parameters

parameters

required to create an account


abstract fun create(parameters: Passwords.CreateParameters, callback: (PasswordsCreateResponse) -> Unit)

Wraps Stytch’s passwords create endpoint. Creates an account using an email and password given that an account with such an email does not already exist.

Parameters

parameters

required to create an account

callback

calls callback with PasswordsCreateResponse response from backend