add auth lib

This commit is contained in:
2026-03-01 03:04:43 +01:00
parent e9bb724708
commit 4b6268535f
11 changed files with 544 additions and 0 deletions

9
README.md Normal file
View File

@@ -0,0 +1,9 @@
# go-auth
Reusable backend authentication/security module.
## Packages
- `jwt`: JWT manager and claims helpers.
- `token`: secure token generation and hashing utilities.
- `credentials`: username/email/password validation helpers.