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/auth
veypi 261dd9ffb0 refactor(auth): Implement lazy token parsing in UserID method
- Add jwt package import for token parsing
    - Add private ctxKeyTokenParsed constant to track parse status
    - Remove unused VBaseProvider variable
    - Rewrite UserID method with lazy token parsing logic
    - Check cached token status to avoid repeated parsing
    - Extract and parse token from request when needed
    - Validate token type is access token
    - Cache userID and parsed status in request context
4 weeks ago
..
auth.go refactor(auth): Implement lazy token parsing in UserID method 4 weeks ago
design.md refactor(auth): Add permission validation and update design docs 2 months ago