Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithSkippedSubjects ¶
func WithSkippedSubjects(subjects ...string) skippedSubjects
Types ¶
type AuthZMiddlewareOptioner ¶
type AuthZMiddlewareOptioner interface {
// contains filtered or unexported methods
}
func WithSkippedAuthZPaths ¶
func WithSkippedAuthZPaths(paths []HttpPath, caseSensitive bool) AuthZMiddlewareOptioner
type AuthZMiddlewareOptions ¶
type AuthZMiddlewareOptions struct {
// contains filtered or unexported fields
}
type AuthzMiddleware ¶
type AuthzMiddleware struct {
// contains filtered or unexported fields
}
func NewAuthZMiddleware ¶
func NewAuthZMiddleware(log logger.Logger, enforcer Enforcer, optioners ...AuthZMiddlewareOptioner) *AuthzMiddleware
Click to show internal directories.
Click to hide internal directories.