Page Contents

Home > @loopback/authorization > authorize > denyUnauthenticated

authorize.denyUnauthenticated() function

Deny unauthenticated users

Signature:

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

Returns:

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