Kotlin: Sign out a user

Logs out the current user.

Examples

Sign out

supabase.gotrue.logout()

Sign out all sessions

supabase.gotrue.logout(LogoutScope.GLOBAL)

Sign out all sessions except the current

supabase.gotrue.logout(LogoutScope.OTHERS)