1 | import Server from "./server";
|
2 | export { Server };
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | export 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 | }
|