MCPcopy Index your code
hub / github.com/loopbackio/loopback-next / addAuthority

Method addAuthority

packages/security/src/types.ts:174–178  ·  view source on GitHub ↗
(...authorities: Permission[])

Source from the content-addressed store, hash-verified

172 }
173
174 addAuthority(...authorities: Permission[]) {
175 for (const authority of authorities) {
176 this.authorities.add(authority);
177 }
178 }
179
180 addCredential(...credentials: Credential[]) {
181 for (const credential of credentials) {

Callers 1

subject.unit.tsFile · 0.80

Calls 1

addMethod · 0.65

Tested by

no test coverage detected