mirror of
https://github.com/AlistGo/alist.git
synced 2025-12-24 14:40:10 +08:00
- Upon login, obtain and verify `Client-Id` to ensure unique device sessions. - If there are too many device sessions, clean up old ones according to the configured policy or return an error. - If a device session is invalid, deregister the old token and return a 401 error. - Added `EnsureActiveOnLogin` function to handle the creation and refresh of device sessions during login. |
||
|---|---|---|
| .. | ||
| auth.go | ||
| check.go | ||
| down.go | ||
| fsup.go | ||
| https.go | ||
| limit.go | ||
| search.go | ||
| session_refresh.go | ||