nextcloud-node-client
Version:
Nextcloud client API for node.js applications
16 lines (15 loc) • 565 B
TypeScript
import Server from "./server";
export default class Environment {
readonly url?: string;
readonly userName?: string;
readonly password?: string;
readonly recordingActive: boolean;
constructor();
/**
* 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;
}