MCPcopy
hub / github.com/loopbackio/loopback-next / addCredential

Method addCredential

packages/security/src/types.ts:180–184  ·  view source on GitHub ↗
(...credentials: Credential[])

Source from the content-addressed store, hash-verified

178 }
179
180 addCredential(...credentials: Credential[]) {
181 for (const credential of credentials) {
182 this.credentials.add(credential);
183 }
184 }
185
186 getPrincipal(type: string) {
187 let principal: Principal | undefined;

Callers 1

subject.unit.tsFile · 0.80

Calls 1

addMethod · 0.65

Tested by

no test coverage detected