Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "Call to undefined method AppHttpMiddlewareJWTAuth::parseToken()"
- class JWTAuth
- {
- public function handle($request, Closure $next)
- {
- JWTAuth::parseToken()->authenticate();
- return $next($request);
- }
- }
- 'providers' => [
- ...
- TymonJWTAuthProvidersLaravelServiceProvider::class,
- ...
- 'aliases' => [
- ...
- 'JWTAuth' => TymonJWTAuthFacadesJWTAuth::class,
- 'JWTFactory' => TymonJWTAuthFacadesJWTFactory::class,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement