handle

suspend fun handle(uri: Uri, sessionDurationMinutes: UInt): DeeplinkHandledStatus

Handle magic link

Return

DeeplinkHandledStatus from backend after calling any of the authentication methods

Parameters

uri
  • intent.data from deep link

sessionDurationMinutes
  • sessionDuration


fun handle(    uri: Uri,     sessionDurationMinutes: UInt,     callback: (response: DeeplinkHandledStatus) -> Unit)

Handle magic link

Parameters

uri
  • intent.data from deep link

sessionDurationMinutes
  • sessionDuration

callback

calls callback with DeeplinkHandledStatus response from backend