mirror of https://github.com/veypi/OneAuth.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
- Rename appAuth to vbaseProvider implementing auth.Provider interface
- Replace auth.VBaseAuth with cfg.Auth (auth.Auth struct) for middleware
- Add global cfg.Auth instance with SetProvider injection in init.go
- Update all API handlers to use cfg.Auth.RequireXxx instead of PermXxx
- Update tests to use cfg.Auth for permission checks
- Remove Login/Perm methods from Provider (now in auth.Auth struct)
|
2 months ago | |
|---|---|---|
| .. | ||
| create.go | 2 months ago | |
| del.go | 2 months ago | |
| get.go | 2 months ago | |
| init.go | 2 months ago | |
| list.go | 2 months ago | |
| templates.go | 2 months ago | |
| update.go | 2 months ago | |