@loopback/authentication 12.0.9 → 12.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@loopback/authentication",
3
3
  "description": "A LoopBack component for authentication support.",
4
- "version": "12.0.9",
4
+ "version": "12.0.10",
5
5
  "keywords": [
6
6
  "LoopBack",
7
7
  "Authentication"
@@ -43,21 +43,21 @@
43
43
  "@loopback/rest": "^15.0.0"
44
44
  },
45
45
  "dependencies": {
46
- "@loopback/security": "^0.12.8",
46
+ "@loopback/security": "^0.12.9",
47
47
  "@types/express": "^4.17.25",
48
- "@types/lodash": "^4.17.21",
48
+ "@types/lodash": "^4.17.23",
49
49
  "lodash": "^4.17.21",
50
50
  "tslib": "^2.8.1"
51
51
  },
52
52
  "devDependencies": {
53
- "@loopback/build": "^12.0.7",
54
- "@loopback/core": "^7.0.7",
53
+ "@loopback/build": "^12.0.8",
54
+ "@loopback/core": "^7.0.8",
55
55
  "@loopback/eslint-config": "^16.0.1",
56
- "@loopback/openapi-spec-builder": "^8.0.7",
57
- "@loopback/rest": "^15.0.8",
58
- "@loopback/testlab": "^8.0.7",
56
+ "@loopback/openapi-spec-builder": "^8.0.8",
57
+ "@loopback/rest": "^15.0.9",
58
+ "@loopback/testlab": "^8.0.8",
59
59
  "@types/node": "^16.18.126",
60
60
  "jsonwebtoken": "^9.0.3"
61
61
  },
62
- "gitHead": "68b1a429ac9f3ec7ac0fc275ba7907ca620a08d2"
62
+ "gitHead": "497f7e22bb6a9867e5afe830bb82a39172fe5c78"
63
63
  }
@@ -18,9 +18,9 @@ import {AuthenticationMetadata, AuthenticationOptions} from '../types';
18
18
  * Provides authentication metadata of a controller method
19
19
  * @example `context.bind('authentication.operationMetadata').toProvider(AuthMetadataProvider)`
20
20
  */
21
- export class AuthMetadataProvider
22
- implements Provider<AuthenticationMetadata[] | undefined>
23
- {
21
+ export class AuthMetadataProvider implements Provider<
22
+ AuthenticationMetadata[] | undefined
23
+ > {
24
24
  constructor(
25
25
  @inject(CoreBindings.CONTROLLER_CLASS, {optional: true})
26
26
  private readonly controllerClass: Constructor<{}>,
@@ -31,9 +31,9 @@ import {
31
31
  AuthenticationBindings.AUTHENTICATION_STRATEGY_EXTENSION_POINT_NAME,
32
32
  {scope: BindingScope.TRANSIENT},
33
33
  ) //this needs to be transient, e.g. for request level context.
34
- export class AuthenticationStrategyProvider
35
- implements Provider<AuthenticationStrategy[] | undefined>
36
- {
34
+ export class AuthenticationStrategyProvider implements Provider<
35
+ AuthenticationStrategy[] | undefined
36
+ > {
37
37
  constructor(
38
38
  @extensions()
39
39
  protected authenticationStrategies: Getter<AuthenticationStrategy[]>,