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

Better auth collection support #4

Open
4 of 5 tasks
deavmi opened this issue Dec 30, 2022 · 1 comment
Open
4 of 5 tasks

Better auth collection support #4

deavmi opened this issue Dec 30, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@deavmi
Copy link
Contributor

deavmi commented Dec 30, 2022

Methods

I have added various auth() versions of most functions, which will fill out blank JSON values for password, passwordConfirm and email (unless emailVisibility is true). This is becuase User structs are used for auth and later commands (atleast we should be able to support that). Hence this prevents any crashing due to JSON key errors.

This should be done with the tag v0.9.0 by now, unit tests seem to pass so it seems to be working:

  • viewRecordsAuth()
  • listRecordsAuth()
  • authWithPassword()

With tag v0.10.2 we have:

  • updateRecordAuth()

Deserializer things

@deavmi deavmi self-assigned this Dec 30, 2022
@deavmi deavmi added bug Something isn't working enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed and removed bug Something isn't working labels Dec 31, 2022
@deavmi
Copy link
Contributor Author

deavmi commented Jan 5, 2023

Added updateRecordAuth() in tag v0.10.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant