Update JWT.php
Update JWT.php

Add a method to retrieve the header. OpenIdConnect tends to add a "kid" to the header that is used to determine which key to use for verification. Getting header information allows you to figure out which key to pass to "decode". Other possible ways to handle this, allow $key passed to decode to be an array of keys. For now, let's just let people get to the header.
tvad911/php-jwt,sjones608/php-jwt,ydatech/php-jwt,JEduardogmr/laravel-firebase,kevinmel2000/php-jwt,stof/php-jwt,johanderuijter/php-jwt,imjerrybao/php-jwt,kevinmel2000/php-jwt,imjerrybao/php-jwt,tvad911/php-jwt,ydatech/php-jwt,stof/php-jwt,m4h4n/php-jwt,sjones608/php-jwt,johanderuijter/php-jwt,firebase/php-jwt,m4h4n/php-jwt