authenticate

abstract suspend fun authenticate(parameters: MagicLinks.AuthParameters): AuthResponse

Authenticate a user given a magic link. This endpoint verifies that the magic link token is valid, hasn't expired or been previously used.

Return

AuthResponse

Parameters

parameters

required to authenticate


abstract fun authenticate(parameters: MagicLinks.AuthParameters, callback: (AuthResponse) -> Unit)

Authenticate a user given a magic link. This endpoint verifies that the magic link token is valid, hasn't expired or been previously used.

Parameters

parameters

required to authenticate

callback

a callback that receives an AuthResponse