Procházet zdrojové kódy

Deprecate OCP\Remote

This is unused.

Fixes https://github.com/nextcloud/server/issues/25780

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
tags/v23.0.0beta1
Lukas Reschke před 3 roky
rodič
revize
a423aae522

+ 3
- 0
lib/public/Remote/Api/IApiCollection.php Zobrazit soubor

* Provides access to the various apis of a remote instance * Provides access to the various apis of a remote instance
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
interface IApiCollection { interface IApiCollection {
/** /**
* @return IUserApi * @return IUserApi
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
public function getUserApi(); public function getUserApi();


* @return ICapabilitiesApi * @return ICapabilitiesApi
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
public function getCapabilitiesApi(); public function getCapabilitiesApi();
} }

+ 2
- 0
lib/public/Remote/Api/IApiFactory.php Zobrazit soubor



/** /**
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
interface IApiFactory { interface IApiFactory {
/** /**
* @return IApiCollection * @return IApiCollection
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
public function getApiCollection(IInstance $instance, ICredentials $credentials); public function getApiCollection(IInstance $instance, ICredentials $credentials);
} }

+ 2
- 0
lib/public/Remote/Api/ICapabilitiesApi.php Zobrazit soubor



/** /**
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
interface ICapabilitiesApi { interface ICapabilitiesApi {
/** /**
* @return array The capabilities in the form of [$appId => [$capability => $value]] * @return array The capabilities in the form of [$appId => [$capability => $value]]
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
public function getCapabilities(); public function getCapabilities();
} }

+ 2
- 0
lib/public/Remote/Api/IUserApi.php Zobrazit soubor



/** /**
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
interface IUserApi { interface IUserApi {
/** /**
* @return IUser * @return IUser
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
public function getUser($userId); public function getUser($userId);
} }

+ 3
- 0
lib/public/Remote/ICredentials.php Zobrazit soubor

* The credentials for a remote user * The credentials for a remote user
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
interface ICredentials { interface ICredentials {
/** /**
* @return string * @return string
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
public function getUsername(); public function getUsername();


* @return string * @return string
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
public function getPassword(); public function getPassword();
} }

+ 6
- 0
lib/public/Remote/IInstance.php Zobrazit soubor

* Provides some basic info about a remote Nextcloud instance * Provides some basic info about a remote Nextcloud instance
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
interface IInstance { interface IInstance {
/** /**
* @return string The url of the remote server without protocol * @return string The url of the remote server without protocol
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
public function getUrl(); public function getUrl();


* @return string The of of the remote server with protocol * @return string The of of the remote server with protocol
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
public function getFullUrl(); public function getFullUrl();


* @return string The full version string in '13.1.2.3' format * @return string The full version string in '13.1.2.3' format
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
public function getVersion(); public function getVersion();


* @return string 'http' or 'https' * @return string 'http' or 'https'
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
public function getProtocol(); public function getProtocol();


* Check that the remote server is installed and not in maintenance mode * Check that the remote server is installed and not in maintenance mode
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
* *
* @return bool * @return bool
*/ */

+ 2
- 0
lib/public/Remote/IInstanceFactory.php Zobrazit soubor



/** /**
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
interface IInstanceFactory { interface IInstanceFactory {
/** /**
* @return IInstance * @return IInstance
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
public function getInstance($url); public function getInstance($url);
} }

+ 14
- 0
lib/public/Remote/IUser.php Zobrazit soubor

* User info for a remote user * User info for a remote user
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
interface IUser { interface IUser {
/** /**
* @return string * @return string
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
public function getUserId(); public function getUserId();


* @return string * @return string
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
public function getEmail(); public function getEmail();


* @return string * @return string
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
public function getDisplayName(); public function getDisplayName();


* @return string * @return string
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
public function getPhone(); public function getPhone();


* @return string * @return string
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
public function getAddress(); public function getAddress();


* @return string * @return string
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
public function getWebsite(); public function getWebsite();


* @return string * @return string
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
public function getTwitter(); public function getTwitter();


* @return string[] * @return string[]
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
public function getGroups(); public function getGroups();


* @return string * @return string
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
public function getLanguage(); public function getLanguage();


* @return int * @return int
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
public function getUsedSpace(); public function getUsedSpace();


* @return int * @return int
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
public function getFreeSpace(); public function getFreeSpace();


* @return int * @return int
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
public function getTotalSpace(); public function getTotalSpace();


* @return int * @return int
* *
* @since 13.0.0 * @since 13.0.0
* @deprecated 23.0.0
*/ */
public function getQuota(); public function getQuota();
} }

Načítá se…
Zrušit
Uložit