app/Providers/AppServiceProvider.php
/**
     * Bootstrap any application services.
     *
     * @return void
     */
Bootstrap any application services.
@return void
Bootstrap any application services . @return void
public function boot()
    {
        Auth::extend('web-token', function ($app, $name, $config) {
            $guard = new WebTokenGuard(
                $this->createUserProvider($config['provider'] ?? null),
                $app['request'],
                $config['input_key'],
                $config['storage_key']
            );
            $app->refresh('request', $guard, 'setRequest');
            return $guard;
        });
    }
public function boot ( ) { Auth :: extend ( 'web-token' , function ( $ app , $ name , $ config ) { $ guard = new WebTokenGuard ( $ this -> createUserProvider ( $ config [ 'provider' ] ?? null ) , $ app [ 'request' ] , $ config [ 'input_key' ] , $ config [ 'storage_key' ] ) ; $ app -> refresh ( 'request' , $ guard , 'setRequest' ) ; return $ guard ; } ) ; }
Bootstrap any application services.
Bootstrap any application services .
//        Schema::defaultStringLength(191);\