Page Contents

Home > @loopback/authorization > authorize > scope

authorize.scope variable

Shortcut to specify access scopes

Signature:

scope: (...scopes: string[]) => (target: any, method?: string | undefined, methodDescriptor?: TypedPropertyDescriptor<any> | undefined) => any