Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/loopbackio/loopback-next
/ scope
Function
scope
packages/authorization/src/decorators/authorize.ts:140–140 ·
view source on GitHub ↗
(...scopes: string[])
Source
from the content-addressed store, hash-verified
138
* @param scopes
139
*/
140
export
const
scope = (...scopes: string[]) => authorize({scopes});
141
142
/**
143
* Shortcut to configure voters
Callers
nothing calls this directly
Calls
1
authorize
Function · 0.85
Tested by
no test coverage detected