PHP Class Gush\ThirdParty\Github\GitHubConfigurator

Author: Sebastiaan Stok ([email protected])
Inheritance: extends Gush\Adapter\DefaultConfigurator
Show file Open project: gushphp/gush

Public Methods

Method Description
__construct ( StyleHelper $styleHelper, $label, $apiUrl, $repoUrl )
interact ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Private Methods

Method Description
createAuthorization ( Github\Client $client, $code = null )
getConfigStructure ( $username, $token, $apiUrl, $repoUrl )
handle2fa ( Github\Client $client, Github\Exception\TwoFactorAuthenticationRequiredException $e )

Method Details

__construct() public method

public __construct ( StyleHelper $styleHelper, $label, $apiUrl, $repoUrl )
$styleHelper Gush\Helper\StyleHelper

interact() public method

public interact ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface