We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I use the token to automatically login when my app starts. How do I log out to be able to use a different user?
I didn't find anything in the documentation. I was also looking through the classes in visual studio.
Usually I would call Meteor.Logout or maybe Accounts.Logout() but these methods don't exist
Meteor.Logout
Accounts.Logout()
The text was updated successfully, but these errors were encountered:
I solved it by doing the following
Method methodCall = Method.Call("logout"); yield return (Coroutine)methodCall;
I'm not sure if this is the right approach but it works. It also does not clear the token stored in Accounts.Token.
Accounts.Token
Sorry, something went wrong.
No branches or pull requests
When I use the token to automatically login when my app starts. How do I log out to be able to use a different user?
I didn't find anything in the documentation. I was also looking through the classes in visual studio.
Usually I would call
Meteor.Logout
or maybeAccounts.Logout()
but these methods don't existThe text was updated successfully, but these errors were encountered: