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

Additional Methods to useAuth #6202

Open
takameyer opened this issue Oct 18, 2023 · 0 comments
Open

Additional Methods to useAuth #6202

takameyer opened this issue Oct 18, 2023 · 0 comments

Comments

@takameyer
Copy link
Contributor

Problem

There are a few methods that could be wrapped in useAuth, including:

  • linkUser
  • deleteUser
  • removeUser

There are not necessarily Auth operations, but they are related to the user session and will in effect affect authorization.

Solution

Extend useAuth and documentation to include these operations.

Alternatives

const app = useApp();
const user = useUser();

app.linkUser(...);
app.deleteUser(user);
app.removeUser(user);

How important is this improvement for you?

Would be a major improvement

Feature would mainly be used with

Atlas App Services: Auth or Functions etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant