You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,7 +113,7 @@ Create CRUD repository for the above model. Use loopback CLI.
113
113
lb4 repository
114
114
```
115
115
116
-
Add the verifier function for the strategy. You need to create a provider for the same. You can add your application specific business logic for client auth here. Here is simple example.
116
+
Add the verifier function for the strategy. You need to create a provider for the same strategy. You can add your application specific business logic for client auth here. Here is simple example.
117
117
118
118
```ts
119
119
import {Provider} from'@loopback/context';
@@ -306,7 +306,7 @@ export class BearerTokenVerifyProvider
306
306
) {}
307
307
308
308
value():VerifyFunction.BearerFn {
309
-
returnasync(token)=> {
309
+
returnasynctoken=> {
310
310
const user =verify(token, process.env.JWT_SECRETasstring, {
0 commit comments