handle

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

Handle magic link

Return

AuthResponse 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: (AuthResponse) -> Unit)

Handle magic link

Parameters

uri
  • intent.data from deep link

sessionDurationMinutes
  • sessionDuration

callback

calls callback with AuthResponse response from backend