Skip to content
JWT authentication for your Symfony REST API
PHP
Branch: master
Clone or download
chalasr bug #675 Use late static binding on JWTUser (kaznovac)
This PR was squashed before being merged into the 2.x-dev branch (closes #675).

Discussion
----------

Use late static binding on JWTUser

use late static binding on `JWTUser` so I as a developer can extend this class (createFromPayload can now return instance of class extending this class)

https://www.php.net/manual/en/language.oop5.late-static-bindings.php

Commits
-------

e0d95f4 Use late static binding on JWTUser
Latest commit 8697dc2 Aug 2, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Command Add a `lexik:jwt:generate-token` command Jun 20, 2018
DependencyInjection fix test Feb 18, 2019
Encoder Customizable User ID Claim Aug 10, 2018
Event Re-add needed use statements Apr 17, 2019
Exception CS fixes Mar 4, 2018
Resources Update the openssl commands to not use "genrsa" and "rsa" Jun 12, 2019
Response PhpDoc @Internal is removed Nov 4, 2017
Security Use late static binding on JWTUser Aug 2, 2019
Services Fix FC/BC layer for EventDispatcher Apr 17, 2019
Signature [Feature] clock skew May 14, 2018
Tests Use late static binding on JWTUser Aug 2, 2019
TokenExtractor Make the token type case insensitive Nov 9, 2017
.gitignore cleanup JWTProvider, added and updated tests Jul 12, 2014
.php_cs Relax CS analyses about aligning equals (pollute diffs) Oct 1, 2018
.scrutinizer.yml Fix requirements Oct 19, 2017
.styleci.yml Relax CS analyses about aligning equals (pollute diffs) Oct 1, 2018
.travis.yml Fix tests on symfony 4.3 Jul 18, 2019
CHANGELOG.md Update CHANGELOG for v2.6.4 Jul 29, 2019
CONTRIBUTING.md Improve the structure of the documentation (#269) Nov 8, 2016
Events.php add event annotations Apr 12, 2019
LICENSE Update license and move it at the root directory Sep 17, 2016
LexikJWTAuthenticationBundle.php Add a `lexik:jwt:generate-token` command Jun 20, 2018
README.md Drop HHVM build Feb 18, 2019
UPGRADE-2.0.md Add UPGRADE file for v2.5 Jun 30, 2018
UPGRADE-2.5.md Add UPGRADE file for v2.5 Jun 30, 2018
composer.json Add ext-openssl requirement Oct 10, 2018
phpunit.xml.dist Customizable User ID Claim Aug 10, 2018

README.md

LexikJWTAuthenticationBundle

Build Status StyleCI Scrutinizer Code Quality SensioLabsInsight Latest Stable Version

This bundle provides JWT (Json Web Token) authentication for your Symfony API.

It is compatible and tested with PHP 5.5, 7.2, 7.3, on Symfony 3.4 and 4.2.

Documentation

The bulk of the documentation is stored in the Resources/doc directory of this bundle:

Community Support

Please consider opening a question on StackOverflow using the lexikjwtauthbundle tag, it is the official support platform for this bundle.

Github Issues are dedicated to bug reports and feature requests.

Contributing

See the CONTRIBUTING file.

Upgrading from 1.x

Please see the UPGRADE file.

Credits

License

This bundle is under the MIT license.
For the whole copyright, see the LICENSE file distributed with this source code.

You can’t perform that action at this time.