Created
January 8, 2019 15:52
-
-
Save OlabodeAbesin/3f112158bcd1b1c13a6e218037fa090f to your computer and use it in GitHub Desktop.
Register_Jwt_middleware
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected $routeMiddleware = [ | |
... | |
'jwt.auth' => 'Tymon\JWTAuth\Middleware\GetUserFromToken', | |
'jwt.refresh' => 'Tymon\JWTAuth\Middleware\RefreshToken', | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment