MCPcopy Create free account
hub / github.com/ProtonDriveApps/sdk / getCachePassword

Method getCachePassword

cli/src/credentials/credentials.ts:33–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 if (!this.isLoggedIn()) {
32 return false;
33 }
34 return this.telemetryEnabled ?? false;
35 }
36
37 getUserKeyPassword(): string | undefined {
38 return this.userKeyPassword;
39 }
40
41 async getCachePassword(): Promise<string> {
42 if (!this.cachePassword) {

Callers 1

createCacheFunction · 0.80

Calls 2

persistCredentialsMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected