UNPKG

nextcloud-node-client

Version:

Nextcloud client API for node.js applications

21 lines (20 loc) 784 B
import Server from "./server"; export { Server }; /** * returns the nextcloud credentials that is defined in the * "user-provided" service section of the VCAP_SERVICES environment * instanceName: the name of the nextcloud user provided service instance */ export default class EnvironmentVcapServices { readonly url: string; readonly userName: string; readonly password: string; constructor(instanceName: string); /** * returns the nextcloud credentials that is defined in the * "user-provided" service section of the VCAP_SERVICES environment * @param instanceName the name of the nextcloud user provided service instance * @returns credentials from the VCAP_SERVICES environment (user provided service) */ getServer(): Server; }