mirror of
https://github.com/weloe/token-go.git
synced 2025-10-05 23:46:52 +08:00
feat: add simple auth api
This commit is contained in:
5
auth/acl_interface.go
Normal file
5
auth/acl_interface.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package auth
|
||||
|
||||
type ACL interface {
|
||||
GetPermission(id string) []string
|
||||
}
|
Reference in New Issue
Block a user