mirror of
https://github.com/weloe/token-go.git
synced 2025-10-05 07:26:50 +08:00
feat: add CheckLogin() method to check if is login
This commit is contained in:
@@ -24,6 +24,8 @@ type IEnforcer interface {
|
||||
|
||||
GetRequestToken(ctx ctx.Context) string
|
||||
|
||||
CheckLogin(ctx ctx.Context) error
|
||||
|
||||
SetType(t string)
|
||||
GetType() string
|
||||
GetAdapter() persist.Adapter
|
||||
|
Reference in New Issue
Block a user