Page Contents

Home > @loopback/authorization > authorize > allowAuthenticated

authorize.allowAuthenticated() function

Allow authenticated users

Signature:

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

Returns:

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