protected function extendAuthGuard()
    {
        $this->app['auth']->extend('jwt', function ($app, $name, array $config) {
            $guard = new JWTGuard(
                $app['tymon.jwt'],
                $app['auth']->createUserProvider($config['provider']),
                $app['request']
            );

            $app->refresh('request', $guard, 'setRequest');

            return $guard;
        });
    }
protected function extendAuthGuard()
    {
        $this->app['auth']->extend('jwt', function ($app, $name, array $config) {
            $guard = new JWTGuard(
                $app['tymon.jwt'],
                $app['auth']->createUserProvider($config['provider']),
                $app['request']
            );

            $app->refresh('request', $guard, 'setRequest');

            return $guard;
        });
    }
protected function extendAuthGuard ( ) { $ this -> app [ 'auth' ] -> extend ( 'jwt' , function ( $ app , $ name , array $ config ) { $ guard = new JWTGuard ( $ app [ 'tymon.jwt' ] , $ app [ 'auth' ] -> createUserProvider ( $ config [ 'provider' ] ) , $ app [ 'request' ] ) ; $ app -> refresh ( 'request' , $ guard , 'setRequest' ) ; return $ guard ; } ) ; }
Extend Laravel's Auth.

@return void
Extend Laravel s Auth .