Skip to content

Instantly share code, notes, and snippets.

@blogcacanid
Created June 17, 2020 08:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blogcacanid/76c34d6572af6172b7f71b9ebec18e7e to your computer and use it in GitHub Desktop.
Save blogcacanid/76c34d6572af6172b7f71b9ebec18e7e to your computer and use it in GitHub Desktop.
app.php Rest API Dengan JSON Web Token Laravel 7
'providers' => [
...
/*
* Package Service Providers...
*/
'Tymon\JWTAuth\Providers\LaravelServiceProvider',
/*
* Application Service Providers...
*/
...
],
'aliases' => [
...
'JWTAuth' => 'Tymon\JWTAuth\Facades\JWTAuth',
'JWTFactory' => 'Tymon\JWTAuth\Facades\JWTFactory',
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment