Page Contents

Home > @loopback/authorization > authorize > deny

authorize.deny variable

Shortcut to configure denied roles

Signature:

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