15 lines
300 B
Go
15 lines
300 B
Go
package auth
|
|
|
|
import (
|
|
"context"
|
|
|
|
"git.sendico.io/tech/sxchnge/bff/pkg/model"
|
|
"git.sendico.io/tech/sxchnge/bff/pkg/mservice"
|
|
)
|
|
|
|
type Provider interface {
|
|
Enforcer() Enforcer
|
|
Manager() Manager
|
|
GetPolicyDescription(ctx context.Context, resource mservice.Type) (*model.PolicyDescription, error)
|
|
}
|