File tree Expand file tree Collapse file tree 5 files changed +979
-2622
lines changed
Expand file tree Collapse file tree 5 files changed +979
-2622
lines changed Original file line number Diff line number Diff line change 11MIT License
22
3- Copyright (c) [2019 ] [SourceFuse]
3+ Copyright (c) [2020 ] [SourceFuse]
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 44
55[ ![ Node version] ( https://img.shields.io/node/v/loopback4-authentication.svg?style=flat-square )] ( https://nodejs.org/en/download/ )
66[ ![ Dependencies Status] ( https://img.shields.io/david/sourcefuse/loopback4-authentication.svg?style=flat-square&label=Dependencies )] ( https://github.com/sourcefuse/loopback4-authentication )
7- [ ![ Loopback Core Version] ( https://img.shields.io/npm/dependency-version/loopback4-authentication/dev/ @loopback/core.svg?color=dark%20green&style=flat-square )] ( https://github.com/strongloop/loopback-next )
7+ [ ![ Loopback Core Version] ( https://img.shields.io/npm/dependency-version/loopback4-authentication/@loopback/core.svg?color=dark%20green&style=flat-square )] ( https://github.com/strongloop/loopback-next )
88[ ![ Loopback Build Version] ( https://img.shields.io/npm/dependency-version/loopback4-authentication/dev/@loopback/build.svg?color=dark%20green&style=flat-square )] ( https://github.com/strongloop/loopback-next/tree/master/packages/build )
99
1010[ ![ npm vulnerabilities] ( https://img.shields.io/snyk/vulnerabilities/npm/loopback4-authentication.svg?label=npm%20vulnerabilities&style=flat-square )] ( https://www.npmjs.com/package/loopback4-authentication )
@@ -305,7 +305,7 @@ export class BearerTokenVerifyProvider
305305 ) {}
306306
307307 value(): VerifyFunction .BearerFn {
308- return async token => {
308+ return async ( token ) => {
309309 const user = verify (token , process .env .JWT_SECRET as string , {
310310 issuer: process .env .JWT_ISSUER ,
311311 }) as User ;
You can’t perform that action at this time.
0 commit comments