Kotlin: Retrieve a session

Returns the current session, or null if there is none.

Examples

Get the session data

val session = supabase.gotrue.currentSessionOrNull()