Page Contents

Home > @loopback/authorization > authorize > allowAuthenticated

authorize.allowAuthenticated() function

Allow authenticated users

Signature:

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

Returns:

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