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

Method addApplication

packages/security/src/types.ts:170–172  ·  view source on GitHub ↗
(app: ClientApplication)

Source from the content-addressed store, hash-verified

168 }
169
170 addApplication(app: ClientApplication) {
171 this.principals.add(new TypedPrincipal(app, 'APPLICATION'));
172 }
173
174 addAuthority(...authorities: Permission[]) {
175 for (const authority of authorities) {

Callers 1

subject.unit.tsFile · 0.80

Calls 1

addMethod · 0.65

Tested by

no test coverage detected