mirror of
https://github.com/weloe/token-go.git
synced 2025-10-05 15:36:50 +08:00
feat: refactor kickout, replaced
This commit is contained in:
@@ -48,8 +48,8 @@ type IEnforcer interface {
|
||||
GetLoginCounts() (int, error)
|
||||
GetLoginTokenCounts() (int, error)
|
||||
|
||||
Kickout(id string, device string) error
|
||||
Replaced(id string, device string) error
|
||||
Kickout(id string, device ...string) error
|
||||
Replaced(id string, device ...string) error
|
||||
|
||||
// Banned banned api
|
||||
Banned(id string, service string, level int, time int64) error
|
||||
|
Reference in New Issue
Block a user