oVendorProvider = new Azure(array_merge([ 'prompt' => 'consent', 'scope' => 'offline_access', 'defaultEndPointVersion' => Azure::ENDPOINT_VERSION_2_0, ], $aVendorProvider), $collaborators); if (!empty($aAccessTokenParams)) { $this->oAccessToken = new AccessToken([ "access_token" => $aAccessTokenParams["access_token"], "expires_in" => -1, "refresh_token" => $aAccessTokenParams["refresh_token"], "token_type" => "Bearer", ]); } if (isset($aVendorProvider['scope'])) { $this->SetScope($aVendorProvider['scope']); } } }