Kotlin: Retrieve a session

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

Examples

Get the session data

val session = supabase.auth.currentSessionOrNull()