securiscan/jwt-verification

This package is made for Laravel/Lumen based microservices that need to verify JSON Web Tokens (JWT)

v1.1.2 2019-03-14 09:41 UTC

This package is not auto-updated.

Last update: 2020-08-13 23:32:16 UTC


README

Total Downloads Latest Stable Version Latest Unstable Version License

Introduction

This package is made for Laravel/Lumen based microservices who need to verify JSON Web Tokens (JWTs).

Installation Guide

First off you need to register the Securiscan\JWT\JwtServiceProvider::class in your Laravel or Lumen application. If you are using Laravel, don't forget to run the vendor:publish after. This will create a file called 'jwt.php' in your config directory.

Next you need to configure the package by setting the JWT_KEY and JWT_SUPPORTED_ALGORITHMS (default: RS256) environment variables. Please note that your public key file should be written on a single line using \n for a newline character.

License

This package is open-sourced software licensed under the MIT license