loginOrCreate

Send either a login or signup magic link to the user based on if the email is associated with a user already. A new or pending user will receive a signup magic link. An active user will receive a login magic link.

Return

BaseResponse

Parameters

parameters

required to receive magic link


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

Send either a login or signup magic link to the user based on if the email is associated with a user already. A new or pending user will receive a signup magic link. An active user will receive a login magic link.

Parameters

parameters

required to receive magic link

callback

a callback that receives a BaseResponse