send

abstract suspend fun send(parameters: MagicLinks.EmailMagicLinks.Parameters): BaseResponse

Wraps Stytch’s email magic link send endpoint. Requests an email magic link for a user to authenticate.

Return

BaseResponse response from backend

Parameters

parameters

required to receive magic link


abstract fun send(parameters: MagicLinks.EmailMagicLinks.Parameters, callback: (BaseResponse) -> Unit)

Wraps Stytch’s email magic link send endpoint. Requests an email magic link for a user to authenticate.

Parameters

parameters

required to receive magic link

callback

calls callback with BaseResponse response from backend