Documentation ¶
Index ¶
Constants ¶
View Source
const (
// Reason holds the error reason.
Reason = "FORBIDDEN"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Authorizer ¶
type Authorizer interface { // IsAuthorized returns nil if everything is ok IsAuthorized(ctx context.Context) error }
Authorizer interface
Click to show internal directories.
Click to hide internal directories.