@panthera-errors/auth-validation
v1.10.0
Published
This README would normally document whatever steps are necessary to get your application up and running.
Readme
README
This is the list of custom errors of panthera platform
What is this repository for?
- This repo was created for handling custom errors for the platform
How do I get set up?
npm i @panthera-errors/custom-errorsCurrent user token validation middleware
import { currentUser } from '@panthera-errors/auth-validation';User Required auth middleware
import { requireAuth } from '@panthera-errors/auth-validation';
