Versions in this module Expand all Collapse all v0 v0.0.1 Nov 13, 2022 Changes in this version + var ErrInvalidClaims = errors.Forbidden(reason, "invalid authz claims") + var ErrMissingClaims = errors.Forbidden(reason, "missing authz claims") + var ErrUnauthorized = errors.Forbidden(reason, "unauthorized access") + func FromContext(ctx context.Context) (*engine.AuthClaims, bool) + func NewContext(ctx context.Context, claims *engine.AuthClaims) context.Context + func Server(authorizer engine.Authorizer, opts ...Option) middleware.Middleware + type Option func(*options)