MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / storeCredentials

Method storeCredentials

packages/cloud/src/WebAuthService.ts:214–216  ·  view source on GitHub ↗
(credentials: AuthCredentials)

Source from the content-addressed store, hash-verified

212 public broadcast(): void {}
213
214 private async storeCredentials(credentials: AuthCredentials): Promise<void> {
215 await this.context.secrets.store(this.authCredentialsKey, JSON.stringify(credentials))
216 }
217
218 private async loadCredentials(): Promise<AuthCredentials | null> {
219 const credentialsJson = await this.context.secrets.get(this.authCredentialsKey)

Callers 3

loadCredentialsMethod · 0.95
handleCallbackMethod · 0.95
switchOrganizationMethod · 0.95

Calls 1

storeMethod · 0.65

Tested by

no test coverage detected