Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: lexik/LexikJWTAuthenticationBundle
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8dfd713a986673cb4c5e5899d8ae04eeb34ce222
Choose a base ref
..
head repository: lexik/LexikJWTAuthenticationBundle
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b3a6543e4d3a81bef5839c3c44bfe69f2862d4b0
Choose a head ref
Showing with 2 additions and 2 deletions.
  1. +2 −2 Resources/doc/8-jwt-user-provider.md
4 changes: 2 additions & 2 deletions Resources/doc/8-jwt-user-provider.md
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@ Of course, you can. You just need to make your user class implement the `JWTUser
This interface contains only a `createFromPayload()` _named constructor_ which takes the user's username and
the JWT token payload as arguments and returns an instance of the class.

##### Example of implementation:
##### Example of implementation

```php
namespace AppBundle\Security;
@@ -68,7 +68,7 @@ final class User implements JWTUserInterface

_Note_: You can extend the default `JWTUser` class if that fits your needs.

##### Configuration:
##### Configuration

```yaml
# app/config/security.yml