Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gotrue-csharp SignOut() by scope #148

Open
kienns1996 opened this issue Mar 28, 2024 · 1 comment
Open

Gotrue-csharp SignOut() by scope #148

kienns1996 opened this issue Mar 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@kienns1996
Copy link

Feature request

Is your feature request related to a problem? Please describe.

Is it possible to add a scope option to be able to logout "local", "global" or "others" in Gotrue-csharp?
SignOut() logs out all sessions by default.

@kienns1996 kienns1996 added the enhancement New feature or request label Mar 28, 2024
@acupofjose
Copy link
Member

The client is designed to only support one user per client instance, if you need to support multiple signed in users at a time, you'll need to initialize a separate client for the secondary user as well as a different GotrueSessionPersistence handler if you're attempting to persist each user.

As for restructuring the gotrue client to multiple logins within a single instance, that is not something that is planned!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants