Magestead\Installers\Magento2Project::copyAuthFile PHP Method

copyAuthFile() protected method

protected copyAuthFile ( $destination ) : boolean
$destination
return boolean
    protected function copyAuthFile($destination)
    {
        $composerHome = (new Config($this->output))->getComposerHomeDir();
        $authFile = $composerHome . "/auth.json";
        return copy($authFile, $destination . '/public/auth.json');
    }