public function route(Authenticatable $user, $name, $parameters = [], $absolute = true, $route = null)
    {
        $path = $this->generator->route($name, $parameters, $absolute, $route);

        return $this->getAutologinLink($user, $path);
    }
public function route(Authenticatable $user, $name, $parameters = [], $absolute = true, $route = null)
    {
        $path = $this->generator->route($name, $parameters, $absolute, $route);

        return $this->getAutologinLink($user, $path);
    }
public function route ( Authenticatable $ user , $ name , $ parameters = [ ] , $ absolute = true , $ route = null ) { $ path = $ this -> generator -> route ( $ name , $ parameters , $ absolute , $ route ) ; return $ this -> getAutologinLink ( $ user , $ path ) ; }
Generate a link that will automatically login a user and then redirect
them to a named route as generated by the URL generator.

@param  \Illuminate\Contracts\Auth\Authenticatable  $user
@param  string  $name
@param  mixed  $paramesters
@param  bool  $absolute
@param  \Illuminate\Routing\Route  $route
@return string
Generate a link that will automatically login a user and then redirect them to a named route as generated by the URL generator .