loopback-appid
Conveniently adds an IBM App ID authentication strategy to Loobpack 4.
Usage
Within your index.ts
main
function, add the authentication strategy to your app.
;... { const app = options; // creates an authentication strategy for appid const appid = app;...}
Then in your controller, decorate your APIs with the @authenticate
decorator.
;... { }... @@async : Promise<Order> return await thisorderRepository;