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