Package Exports
- @kinde/jwt-validator
- @kinde/jwt-validator/dist/jwt-validator.cjs
- @kinde/jwt-validator/dist/jwt-validator.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@kinde/jwt-validator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Kinde JWT validator
Description
Simple library to validate JWT tokens
Installation
# npm
npm install @kinde/jwt-validator
# yarn
yarn add @kinde/jwt-validator
# pnpm
pnpm install @kinde/jwt-validatorUsage
import { validateToken, type jwtValidationResponse } from "@kinde/jwt-validator";
const validationResult: jwtValidationResponse = await validateToken({
token: "eyJhbGc...",
domain: "http://mybusiness.kinde.com"
});Kinde documentation
Kinde Documentation - Explore the Kinde docs
Contributing
If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch.
- Make your changes.
- Submit a pull request.
License
By contributing to Kinde, you agree that your contributions will be licensed under its MIT License.