@@ -5,10 +5,8 @@ |
||
| 5 | 5 | */ |
| 6 | 6 | namespace Canis\Lumen\Jwt\Adapters\Lcobucci; |
| 7 | 7 | |
| 8 | -use Lcobucci\JWT\ValidationData; |
|
| 9 | 8 | use Lcobucci\JWT\Builder; |
| 10 | 9 | use Lcobucci\JWT\Signer\Hmac\Sha256; |
| 11 | -use Lcobucci\JWT\Parser; |
|
| 12 | 10 | use Lcobucci\JWT\Token; |
| 13 | 11 | use Canis\Lumen\Jwt\Contracts\Generator as GeneratorContract; |
| 14 | 12 | |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | protected function getDefaultConfig() |
| 42 | 42 | { |
| 43 | 43 | return [ |
| 44 | - 'refreshOffsetAllowance' => 3600*6, |
|
| 44 | + 'refreshOffsetAllowance' => 3600 * 6, |
|
| 45 | 45 | 'expOffset' => 3600, |
| 46 | 46 | 'nbfOffset' => 0, |
| 47 | 47 | 'requiredClaims' => ['iat', 'exp', 'nbf', 'sub', 'jti'] |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @copyright Copyright (c) 2016 Canis.io |
|
| 4 | - * @license MIT |
|
| 5 | - * @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause |
|
| 6 | - */ |
|
| 3 | + * @copyright Copyright (c) 2016 Canis.io |
|
| 4 | + * @license MIT |
|
| 5 | + * @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause |
|
| 6 | + */ |
|
| 7 | 7 | namespace Canis\Lumen\Jwt\Adapters\Lcobucci; |
| 8 | 8 | |
| 9 | 9 | /** |