Versions in this module Expand all Collapse all v1 v1.4.0 Oct 20, 2026 Changes in this version + func OIDCMiddleware(issuer, clientID, tenantClaim string, next http.Handler) (http.Handler, error) + func StaticMiddleware(principal Principal, next http.Handler) http.Handler + func WithPrincipal(ctx context.Context, principal Principal) context.Context + type Principal struct + Subject string + TenantID string + func PrincipalFromContext(ctx context.Context) (Principal, bool)