Flutter: Sign out a user (original) (raw)

Signs out the current user, if there is a logged in user.

Parameters

(Optional)
Whether to sign out from all devices or just the current device. Defaults to `SignOutScope.local`.

Examples

Sign out

await supabase.auth.signOut();