Page Contents

Home > @loopback/authorization > authorize > denyAll

authorize.denyAll() function

Deny all

Signature:

denyAll: () => (target: any, method?: string | undefined, methodDescriptor?: TypedPropertyDescriptor<any> | undefined) => any

Returns:

(target: any, method?: string | undefined, methodDescriptor?: TypedPropertyDescriptor<any> | undefined) => any