mirror of
https://github.com/click33/sa-token-go.git
synced 2025-12-24 13:48:04 +08:00
English | 中文文档
Sa-Token-Go Documentation Center
📚 Documentation Navigation
🚀 Quick Start
- 5-Minute Quick Start - Fastest way to get started
📖 User Guides
- Authentication - Login, logout, token management
- Permission Verification - Permission system, wildcard usage
- Annotations - Decorator pattern guide
- Event Listener - Event system usage guide
- JWT Integration - JWT token configuration and usage
- Redis Storage - Redis storage configuration guide
🔒 Security Features
- Nonce Anti-Replay - Prevent replay attacks
- Refresh Token - Token refresh mechanism
- OAuth2 Authorization - OAuth2 authorization code flow
🔧 API Documentation
- StpUtil API - Complete global utility API reference
🏗️ Design Documentation
- Architecture Design - System architecture and data flow
- Auto-Renewal Design - Asynchronous renewal mechanism
- Modular Design - Module organization strategy
📖 Example Projects
- 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/echo/fiber/chi - Framework integration examples
🔗 External Resources
Sa-Token-Go v0.1.0