Expand description
Utils for Github OAuth integration and JWT authentication
Currently this is only used in the admin dashboard and uses Github OAuth for authentication
Structs§
- Struct containing the auth information of a user
Functions§
- Takes a Github OAuth code and creates a JWT authentication token for the user
- Verifies whether a JWT is valid and signed with the secret key