one-api/controller
Laisky.Cai ba9b258a4b feat: Enhance security and fix bugs in authentication
- Update the minimum access token length from 16 to 32
- Prevent spam by introducing policies and detecting user agents
- Add an authorization header to the login response
- Use base64 to decode the session secret and generate a random one if not set
2024-03-05 13:07:07 +00:00
..
billing.go refactor: use adaptor to do relay & test 2024-02-18 00:15:31 +08:00
channel-billing.go chore: update module name 2024-01-28 19:38:58 +08:00
channel-test.go fix: using the first available model if default model is not found (close #1021) 2024-03-03 22:58:41 +08:00
channel.go chore: update module name 2024-01-28 19:38:58 +08:00
github.go chore: update module name 2024-01-28 19:38:58 +08:00
group.go feat: Handle errors, validate model names, and calculate quota usage (#978) 2024-02-12 21:35:40 +08:00
log.go chore: update module name 2024-01-28 19:38:58 +08:00
misc.go chore: update module name 2024-01-28 19:38:58 +08:00
model.go Merge remote-tracking branch 'origin/upstream/main' 2024-03-05 01:02:35 +00:00
option.go chore: update module name 2024-01-28 19:38:58 +08:00
redemption.go chore: update module name 2024-01-28 19:38:58 +08:00
relay.go Merge remote-tracking branch 'origin/upstream/main' 2024-03-05 01:02:35 +00:00
token.go Merge remote-tracking branch 'origin/upstream/main' 2024-01-28 13:44:16 +00:00
user.go feat: Enhance security and fix bugs in authentication 2024-03-05 13:07:07 +00:00
wechat.go chore: update module name 2024-01-28 19:38:58 +08:00