mirror of
https://github.com/weloe/token-go.git
synced 2025-10-05 15:36:50 +08:00
feat: support add token generate function
This commit is contained in:
@@ -23,6 +23,7 @@ type IEnforcer interface {
|
||||
Kickout(id string, device string) error
|
||||
|
||||
GetRequestToken(ctx ctx.Context) string
|
||||
AddTokenGenerateFun(tokenStyle string, f model.GenerateFunc) error
|
||||
|
||||
CheckLogin(ctx ctx.Context) error
|
||||
|
||||
|
Reference in New Issue
Block a user