handle

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

Call this method to parse out and authenticate deeplinks that your application receives. The currently supported deeplink types are: B2B Email Magic Links.

For B2B Email Magic Links, it will return a DeeplinkHandledStatus.Handled class containing either the authenticated response or error.

Any other link types passed to this method will return a DeeplinkHandledStatus.NotHandled class.

Return

DeeplinkHandledStatus

Parameters

uri

intent.data from deep link

sessionDurationMinutes

desired session duration in minutes


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

Call this method to parse out and authenticate deeplinks that your application receives. The currently supported deeplink types are: B2B Email Magic Links.

For B2B Email Magic Links, it will return a DeeplinkHandledStatus.Handled class containing either the authenticated response or error.

Any other link types passed to this method will return a DeeplinkHandledStatus.NotHandled class.

Parameters

uri

intent.data from deep link

sessionDurationMinutes

desired session duration in minutes

callback

A callback that receives a DeeplinkHandledStatus