@panthera-errors/auth-validation

This README would normally document whatever steps are necessary to get your application up and running.

Usage no npm install needed!

<script type="module">
  import pantheraErrorsAuthValidation from 'https://cdn.skypack.dev/@panthera-errors/auth-validation';
</script>

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-errors

  • Current user token validation middleware import { currentUser } from '@panthera-errors/auth-validation';

  • User Required auth middleware import { requireAuth } from '@panthera-errors/auth-validation';