UNPKG

authorization-z

Version:

`Authorization-Z` is a comprehensive Express middleware package for validating JWT Authorization-Z tokens, attaching permissions to requests, verifying permissions, and granting access accordingly. This package provides a robust solution for implementing

3 lines (2 loc) 196 B
import { Request, Response, NextFunction } from "express"; export declare const authorizeAccess: (moduleName: string, action: string) => (req: Request, res: Response, next: NextFunction) => void;