org\oauth\Driver::__construct PHP Method

__construct() public method

构造方法,配置应用信息
public __construct ( array $config = [] )
$config array
    public function __construct($config = [])
    {
        $this->appKey = $config['app_key'];
        $this->appSecret = $config['app_secret'];
        $this->authorize = isset($config['authorize']) ? $config['authorize'] : '';
        $this->callback = isset($config['callback']) ? $config['callback'] : '';
    }