@itentialopensource/adapter-aruba_central 1.0.0 → 2.0.0

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/CHANGELOG.md CHANGED
@@ -1,4 +1,20 @@
1
1
 
2
+ ## 2.0.0 [01-11-2023]
3
+
4
+ * ADAPT/2478
5
+
6
+ See merge request itentialopensource/adapters/security/adapter-aruba_central!3
7
+
8
+ ---
9
+
10
+ ## 1.1.0 [11-02-2022]
11
+
12
+ * Minor/update auth endpoint
13
+
14
+ See merge request itentialopensource/adapters/security/adapter-aruba_central!2
15
+
16
+ ---
17
+
2
18
  ## 1.0.0 [10-28-2022]
3
19
 
4
20
  * Add new calls
@@ -6,4 +22,3 @@
6
22
  See merge request itentialopensource/adapters/security/adapter-aruba_central!1
7
23
 
8
24
  ---
9
-
package/adapter.js CHANGED
@@ -17781,7 +17781,7 @@ Passi...(description truncated)
17781
17781
  // set up the request object - payload, uriPathVars, uriQuery, uriOptions, addlHeaders, authData, callProperties, filter, priority, event
17782
17782
  // see adapter code documentation for more information on the request object's fields
17783
17783
  const reqObj = {
17784
- payload: bodyVars,
17784
+ payload: bodyVars.params,
17785
17785
  uriPathVars: pathVars,
17786
17786
  uriQuery: queryParams
17787
17787
  };
@@ -4,13 +4,13 @@
4
4
  "name": "getToken",
5
5
  "protocol": "REST",
6
6
  "method": "POST",
7
- "entitypath": "{base_path}/{version}/login",
7
+ "entitypath": "{base_path}/{version}/oauth2/token",
8
8
  "requestSchema": "schemaTokenReq.json",
9
9
  "responseSchema": "schemaTokenResp.json",
10
10
  "timeout": 0,
11
11
  "sendEmpty": false,
12
- "requestDatatype": "",
13
- "responseDatatype": "",
12
+ "requestDatatype": "JSON",
13
+ "responseDatatype": "JSON",
14
14
  "headers": {},
15
15
  "sso": {
16
16
  "protocol": "",
@@ -47,6 +47,63 @@
47
47
  "key": ""
48
48
  },
49
49
  "external_name": "token"
50
+ },
51
+ "client_id": {
52
+ "type": "string",
53
+ "description": "client id to log in with",
54
+ "parse": false,
55
+ "encode": false,
56
+ "encrypt": {
57
+ "type": "AES",
58
+ "key": ""
59
+ },
60
+ "external_name": "client_id"
61
+ },
62
+ "client_secret": {
63
+ "type": "string",
64
+ "description": "client secret to log in with",
65
+ "parse": false,
66
+ "encode": false,
67
+ "encrypt": {
68
+ "type": "AES",
69
+ "key": ""
70
+ },
71
+ "external_name": "client_secret"
72
+ },
73
+ "grant_type": {
74
+ "type": "string",
75
+ "description": "grant type being used",
76
+ "parse": false,
77
+ "encode": false,
78
+ "encrypt": {
79
+ "type": "AES",
80
+ "key": ""
81
+ },
82
+ "external_name": "grant_type"
83
+ },
84
+ "refresh_token": {
85
+ "type": "string",
86
+ "description": "refresh token",
87
+ "parse": false,
88
+ "encode": false,
89
+ "default": "",
90
+ "encrypt": {
91
+ "type": "AES",
92
+ "key": ""
93
+ },
94
+ "external_name": "refresh_token"
95
+ },
96
+ "code": {
97
+ "type": "string",
98
+ "description": "auth code",
99
+ "parse": false,
100
+ "encode": false,
101
+ "default": "",
102
+ "encrypt": {
103
+ "type": "AES",
104
+ "key": ""
105
+ },
106
+ "external_name": "code"
50
107
  }
51
108
  },
52
109
  "definitions": {}
@@ -46,7 +46,7 @@
46
46
  "type": "AES",
47
47
  "key": ""
48
48
  },
49
- "external_name": "token"
49
+ "external_name": "access_token"
50
50
  }
51
51
  },
52
52
  "definitions": {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-aruba_central",
3
- "version": "1.0.0",
3
+ "version": "2.0.0",
4
4
  "description": "This adapter integrates with system described as: arubaCentralAllMethods.",
5
5
  "main": "adapter.js",
6
6
  "wizardVersion": "2.44.15",
Binary file
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.0",
2
+ "version": "1.1.0",
3
3
  "configLines": 109813,
4
4
  "scriptLines": 1795,
5
5
  "codeLines": 87753,