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.
OneAuth/api/auth
veypi 3ea5499532 refactor(auth): Migrate to new vigo auth.Auth and Provider pattern
- 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
..
init.go feat: Restrict user APIs to admins and add public user search 2 months ago
login.go refactor(auth): Migrate to new vigo auth.Auth and Provider pattern 2 months ago
me.go refactor(auth): Migrate to new vigo auth.Auth and Provider pattern 2 months ago
methods.go refactor(auth): 重构认证系统,支持多种验证方式和 OAuth 提供商管理 2 months ago
register.go refactor(auth): Migrate to new vigo auth.Auth and Provider pattern 2 months ago
search_users.go feat: Restrict user APIs to admins and add public user search 2 months ago
thirdparty.go refactor(auth): Migrate to new vigo auth.Auth and Provider pattern 2 months ago