feat: add CheckLogin() method to check if is login

This commit is contained in:
weloe
2023-05-10 15:20:52 +08:00
parent eb4edb54a2
commit a51ba879a1
3 changed files with 14 additions and 0 deletions

View File

@@ -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