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

User Account Settings #7

Closed
4 tasks
petrspelos opened this issue Dec 15, 2021 · 3 comments · Fixed by #23
Closed
4 tasks

User Account Settings #7

petrspelos opened this issue Dec 15, 2021 · 3 comments · Fixed by #23
Assignees
Labels

Comments

@petrspelos
Copy link
Member

petrspelos commented Dec 15, 2021

Summary

A set of Use Cases for the following actions:

  • Completely Delete the User Account

  • Unlink a VRChat account

  • Return a JSON with all of the current user's data

  • + Settings Page itself

Implementation Notes

For account deletion, it's preferable to use the UserManager<VrRetreatUser> found in our WebApp. But be careful not to make a cyclic dependency.

@petrspelos petrspelos added this to the 1.0 Release milestone Dec 19, 2021
@petrspelos petrspelos changed the title Data & Account management tools User Management Dec 21, 2021
@petrspelos petrspelos added Frontend / ASP.NET help wanted Extra attention is needed labels Dec 24, 2021
@petrspelos petrspelos changed the title User Management Use Account Settings Dec 24, 2021
@petrspelos petrspelos changed the title Use Account Settings User Account Settings Dec 24, 2021
@Alex-451
Copy link
Contributor

Could I try this one? Nyah

@petrspelos
Copy link
Member Author

Of course you can, UwU.

It'll be a learning opportunity for sure. 😅

@petrspelos
Copy link
Member Author

So... FYI:

  • UserManager<VrRetreatUser>.ChangePasswordAsync is the preferred way of changing a password.
  • UserManager<VrRetreatUser>.DeleteAsync for deletion of course
  • IVrRetreatUser.ClearVrChatLink to unlink an account
  • Link a Different account is done by redirecting to Home/ClaimVrChatName
  • Data download can probably be done by serializing VrRetreatUser but probably better to make a new object and select only a couple of properties, since we don't want to show the hash and internal ASP.NET stuff

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

Successfully merging a pull request may close this issue.

2 participants