UNPKG

784 BTypeScriptView Raw
1import Server from "./server";
2export { Server };
3/**
4 * returns the nextcloud credentials that is defined in the
5 * "user-provided" service section of the VCAP_SERVICES environment
6 * instanceName: the name of the nextcloud user provided service instance
7 */
8export default class EnvironmentVcapServices {
9 readonly url: string;
10 readonly userName: string;
11 readonly password: string;
12 constructor(instanceName: string);
13 /**
14 * returns the nextcloud credentials that is defined in the
15 * "user-provided" service section of the VCAP_SERVICES environment
16 * @param instanceName the name of the nextcloud user provided service instance
17 * @returns credentials from the VCAP_SERVICES environment (user provided service)
18 */
19 getServer(): Server;
20}