handleDeeplinks

fun SupabaseClient.handleDeeplinks(intent: Intent, onSessionSuccess: (UserSession) -> Unit = {})(source)

Handle deeplinks for authentication. This handles the deeplinks for implicit and PKCE flow.

Parameters

intent

The intent from the activity

onSessionSuccess

The callback when the session was successfully imported

fun SupabaseClient.handleDeeplinks(url: NSURL, onSessionSuccess: (UserSession) -> Unit = {})(source)

Handle deeplinks for authentication. This handles the deeplinks for the implicit and the PKCE flow.

Parameters

url

The url from the ios app delegate

onSessionSuccess

The callback when the session was successfully imported