English | 中文文档
- 5-Minute Quick Start - Fastest way to get started
- Authentication - Login, logout, token management
- Permission Verification - Permission system, wildcard usage
- Path-Based Auth - Path auth and ant-style route matching
- Annotations - Decorator pattern guide
- Event Listener - Event system usage guide
- JWT Integration - JWT token configuration and usage
- Redis Storage - Redis storage configuration guide
- Nonce Anti-Replay - Prevent replay attacks
- Refresh Token - Token refresh mechanism
- OAuth2 Authorization - OAuth2 authorization code flow
- StpUtil API - Complete global utility API reference
- Style variance & PR checklist - Semantic-safe refactor review
- Architecture Design - System architecture and data flow
- Auto-Renewal Design - Asynchronous renewal mechanism
- Modular Design - Module organization strategy
- quick-start - Quick start example
- token-styles - 9 token styles demonstration
- security-features - Security features demo
- oauth2-example - Complete OAuth2 implementation
- annotation - Annotation usage example
- jwt-example - JWT usage example
- redis-example - Redis storage example
- listener-example - Event listener example
- gin-simple - Minimal gin integration example
- gin-example - Gin integration with config file
- echo-example - Echo integration example
- fiber-example - Fiber integration example
- chi-example - Chi integration example
- gf-example - GoFrame integration example
- kratos-example - Kratos integration example
- hertz-example - Hertz integration example
- All integration plugins now support
TokenInterceptor():- Unified token extraction order:
Header -> Cookie -> Query(apikey). - Respects
TokenPrefixviaCutTokenPrefix. - Falls back to
Authorizationheader whenTokenNameis blank.
- Unified token extraction order:
- All integration plugins provide
GetTokenFromCtx(...):- Read the parsed token from framework context instead of manually parsing headers in handlers.
Sa-Token-Go v0.2.2