You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently when calling session.begin() it is not clear wether you are logged in as an anonymous user or not.
The response contains the username and it would be possible to check if the username is the same as the anonymous user, but this would definitely create a large potential for error.
Let's look at an example:
The change of the anonymous username in v0.2.0 would be a breaking change cause every user of the snek-client had to adjust there codebase on the new username.
Describe the solution you'd like
It would be a lot cooler if the response of session.begin() would contain a boolean, let's call it anonymous which tells if I got authenticated as anonymous or not.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently when calling
session.begin()
it is not clear wether you are logged in as an anonymous user or not.The response contains the username and it would be possible to check if the username is the same as the anonymous user, but this would definitely create a large potential for error.
Let's look at an example:
The change of the anonymous username in
v0.2.0
would be a breaking change cause every user of the snek-client had to adjust there codebase on the new username.Describe the solution you'd like
It would be a lot cooler if the response of
session.begin()
would contain a boolean, let's call itanonymous
which tells if I got authenticated as anonymous or not.The text was updated successfully, but these errors were encountered: