Phosphorum\Github\OAuth::__construct PHP Method

__construct() public method

public __construct ( Phalcon\Config $config )
$config Phalcon\Config
    public function __construct(Config $config)
    {
        $this->redirectUriAuthorize = $config->get('redirectUri');
        $this->clientId = $config->get('clientId');
        $this->clientSecret = $config->get('clientSecret');
        $this->logger = $this->getDI()->get('logger', ['auth']);
    }