Skip to main content

auth.session()

Returns the session data, if there is an active session.

final session = supabase.auth.session();

Examples#

Get the session data#

final session = supabase.auth.session();