Skip to main content
Version: v1-dev

auth.currentSession

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

final Session? session = supabase.auth.currentSession;

Examples

Get the session data

final Session? session = supabase.auth.currentSession;