Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authorizer ¶
Authorizer implements an authorizer interface using Role-Based Acccess Control (RBAC)
func (*Authorizer) Authorize ¶
func (a *Authorizer) Authorize(ctx context.Context, attrs *authorization.Attributes) (bool, error)
Authorize determines if a request is authorized based on its attributes
Click to show internal directories.
Click to hide internal directories.