For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.

Swift: Sign out a user

Examples

Sign out (this device)

try await supabase.auth.signOut()

Sign out (all sessions)

try await supabase.auth.signOut(scope: .global)

Sign out (other sessions)

try await supabase.auth.signOut(scope: .others)