authenticate

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

Authenticate a Member with a Magic Link. This endpoint requires a Magic Link token that is not expired or previously used. Provide a value for session_duration_minutes to receive a Session. If the Member’s status is pending, they will be updated to active.

Return

AuthResponse

Parameters

parameters

required to authenticate


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

Authenticate a Member with a Magic Link. This endpoint requires a Magic Link token that is not expired or previously used. Provide a value for session_duration_minutes to receive a Session. If the Member’s status is pending, they will be updated to active.

Parameters

parameters

required to authenticate

callback

A callback that receives an AuthResponse