Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authz ¶
type Authz struct {
// contains filtered or unexported fields
}
func New ¶
func New(log log.Logger, next, escape hook.Service, resourceService ResourceService, relationService RelationService, relationAdapter RelationTransformer, identityProxyHeaderKey string) Authz
type ProjectService ¶
type RelationService ¶
type RelationService interface {
Create(ctx context.Context, relation relation.RelationV2) (relation.RelationV2, error)
}
type RelationTransformer ¶ added in v0.6.5
type RelationTransformer interface {
TransformRelation(ctx context.Context, rlt relation.RelationV2) (relation.RelationV2, error)
}
Click to show internal directories.
Click to hide internal directories.