mirror of
https://github.com/weloe/token-go.git
synced 2025-10-05 07:26:50 +08:00
feat: add GetLoginCounts, GetLoginTokenCounts
This commit is contained in:
@@ -45,6 +45,9 @@ type IEnforcer interface {
|
||||
GetIdByToken(token string) string
|
||||
GetLoginCount(id string) int
|
||||
|
||||
GetLoginCounts() (int, error)
|
||||
GetLoginTokenCounts() (int, error)
|
||||
|
||||
Kickout(id string, device string) error
|
||||
Replaced(id string, device string) error
|
||||
|
||||
|
Reference in New Issue
Block a user