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

Tests for auth service #108

Closed
Tracked by #92
Timothy-Gonzalez opened this issue Oct 23, 2023 · 0 comments · Fixed by #126
Closed
Tracked by #92

Tests for auth service #108

Timothy-Gonzalez opened this issue Oct 23, 2023 · 0 comments · Fixed by #126
Assignees

Comments

@Timothy-Gonzalez
Copy link
Member

Timothy-Gonzalez commented Oct 23, 2023

Possible tasks:

- auth-lib.ts
  - [ ] getJwtPayloadFromProfile
  - [ ] getJwtPayloadFromDB
  - [ ] generateJwtToken
  - [ ] decodeJwtToken
  - [ ] updateUserRoles
  - [ ] initializeUserRoles
  - [ ] getAuthInfo
  - [ ] getRoles
  - [ ] updateRoles
  - [ ] hasElevatedPerms
  - [ ] hasStaffPerms
  - [ ] hasAdminPerms
  - [ ] getDevice
  - [ ] getUsersWithRole
  - [ ] getUsersWithRole
- auth-router.ts
  - ~~ GET /auth/test/ ~~
  - [ ] GET /auth/login/github/
  - [ ] GET /auth/login/google/
  - [ ] GET /auth/:PROVIDER/callback/:DEVICE/
  - [ ] GET /auth/roles/:USERID/
  - [ ] PUT /auth/roles/:OPERATION/
  - [ ] GET /auth/list/roles/
  - [ ] GET /auth/roles/
  - [ ] GET /auth/roles/list/:ROLE/
  - [ ] GET /auth/token/refresh/

This will be a lot of work.

@Timothy-Gonzalez Timothy-Gonzalez mentioned this issue Oct 23, 2023
12 tasks
@Timothy-Gonzalez Timothy-Gonzalez self-assigned this Oct 23, 2023
@Timothy-Gonzalez Timothy-Gonzalez mentioned this issue Nov 16, 2023
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

1 participant