service backend
This commit is contained in:
12
api/pkg/auth/config.go
Normal file
12
api/pkg/auth/config.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package auth
|
||||
|
||||
import "github.com/tech/sendico/pkg/model"
|
||||
|
||||
type EnforcerType string
|
||||
|
||||
const (
|
||||
Casbin EnforcerType = "casbin"
|
||||
Native EnforcerType = "native"
|
||||
)
|
||||
|
||||
type Config = model.DriverConfig[EnforcerType]
|
||||
Reference in New Issue
Block a user