public function __construct()

in lib.php [52:60]


    public function __construct($repositoryid, $context = SYSCONTEXTID, $options = array(), $readonly = 0) {
        parent::__construct($repositoryid, $context, $options, $readonly);
        $this->httpclient = new \local_o365\httpclient();
        if (utils::is_configured()) {
            $this->clientdata = \local_o365\oauth2\clientdata::instance_from_oidc();
        }
        $this->onedriveconfigured = \local_o365\rest\onedrive::is_configured();
        $this->unifiedconfigured = \local_o365\rest\unified::is_configured();
    }