Page Contents

Home > @loopback/authorization > authorize > denyUnauthenticated

authorize.denyUnauthenticated() function

Deny unauthenticated users

Signature:

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

Returns:

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