@kronos-integration/service-authenticator 4.1.5 → 4.1.6

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@kronos-integration/service-authenticator",
3
- "version": "4.1.5",
3
+ "version": "4.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@kronos-integration/endpoint": "^11.0.6",
34
- "@kronos-integration/service": "^15.1.4",
34
+ "@kronos-integration/service": "^15.2.0",
35
35
  "jsonwebtoken": "^9.0.3"
36
36
  },
37
37
  "devDependencies": {
@@ -46,12 +46,14 @@ export class ServiceAuthenticator extends Service {
46
46
  private: {
47
47
  ...private_key_attribute,
48
48
  description: "private key for token",
49
- mandatory: true
49
+ mandatory: true,
50
+ persistent: true
50
51
  },
51
52
  public: {
52
53
  ...public_key_attribute,
53
54
  description: "public key for token",
54
- mandatory: true
55
+ mandatory: true,
56
+ persistent: true
55
57
  },
56
58
  claims: {
57
59
  ...object_attribute,
@@ -94,6 +96,7 @@ export class ServiceAuthenticator extends Service {
94
96
  };
95
97
  }
96
98
 
99
+ /*
97
100
  _configure(config) {
98
101
  this.getCredentials().then(credentials => {
99
102
  // TODO automatically read credentials
@@ -109,6 +112,7 @@ export class ServiceAuthenticator extends Service {
109
112
 
110
113
  return super._configure(config);
111
114
  }
115
+ */
112
116
 
113
117
  /**
114
118
  * Endpoints used to send password change requests to.