@webda/google-auth 3.2.0 → 3.2.2
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 +4 -4
- package/webda.module.json +13 -40
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webda/google-auth",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"description": "Webda Google Authentication",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"homepage": "https://github.com/loopingz/webda.io#readme",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@webda/core": "^3.
|
|
34
|
+
"@webda/core": "^3.18.0",
|
|
35
35
|
"google-auth-library": "^9.0.0"
|
|
36
36
|
},
|
|
37
37
|
"c8": {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@testdeck/mocha": "^0.3.2",
|
|
54
54
|
"@types/node": "18.11.13",
|
|
55
|
-
"@webda/shell": "^3.
|
|
55
|
+
"@webda/shell": "^3.13.1",
|
|
56
56
|
"node-fetch": "^3.3.1",
|
|
57
57
|
"sinon": "^18.0.0"
|
|
58
58
|
},
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"@webda/shell"
|
|
67
67
|
]
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "79fedd5b6915347d202c2fc0c8d295c29f118157"
|
|
70
70
|
}
|
package/webda.module.json
CHANGED
|
@@ -12,46 +12,6 @@
|
|
|
12
12
|
"reflections": {}
|
|
13
13
|
},
|
|
14
14
|
"schemas": {
|
|
15
|
-
"Webda/BinaryFile": {
|
|
16
|
-
"type": "object",
|
|
17
|
-
"properties": {
|
|
18
|
-
"hash": {
|
|
19
|
-
"type": "string",
|
|
20
|
-
"description": "Will be computed by the service\n\nhash of the content"
|
|
21
|
-
},
|
|
22
|
-
"challenge": {
|
|
23
|
-
"type": "string",
|
|
24
|
-
"description": "Will be computed by the service\n\nhash of the content prefixed by 'WEBDA'"
|
|
25
|
-
},
|
|
26
|
-
"size": {
|
|
27
|
-
"type": "number",
|
|
28
|
-
"description": "Size of the binary"
|
|
29
|
-
},
|
|
30
|
-
"name": {
|
|
31
|
-
"type": "string",
|
|
32
|
-
"description": "Current name"
|
|
33
|
-
},
|
|
34
|
-
"mimetype": {
|
|
35
|
-
"type": "string",
|
|
36
|
-
"description": "Mimetype of the binary"
|
|
37
|
-
},
|
|
38
|
-
"metadata": {
|
|
39
|
-
"description": "Metadatas stored along with the binary"
|
|
40
|
-
},
|
|
41
|
-
"originalname": {
|
|
42
|
-
"type": "string",
|
|
43
|
-
"description": "Original name"
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"required": [
|
|
47
|
-
"mimetype",
|
|
48
|
-
"name",
|
|
49
|
-
"size"
|
|
50
|
-
],
|
|
51
|
-
"description": "Represent a file to store",
|
|
52
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
53
|
-
"title": "BinaryFile"
|
|
54
|
-
},
|
|
55
15
|
"Webda/GoogleAuthentication": {
|
|
56
16
|
"type": "object",
|
|
57
17
|
"properties": {
|
|
@@ -98,6 +58,10 @@
|
|
|
98
58
|
"description": "Name of the authentication service to use if exist",
|
|
99
59
|
"default": "Authentication"
|
|
100
60
|
},
|
|
61
|
+
"defaultHeaders": {
|
|
62
|
+
"$ref": "#/definitions/Record%3Cstring%2Cstring%3E",
|
|
63
|
+
"description": "Default headers to include in the OAuth requests"
|
|
64
|
+
},
|
|
101
65
|
"client_id": {
|
|
102
66
|
"type": "string",
|
|
103
67
|
"description": "Google Auth Client id"
|
|
@@ -153,12 +117,21 @@
|
|
|
153
117
|
"authenticationService",
|
|
154
118
|
"client_id",
|
|
155
119
|
"client_secret",
|
|
120
|
+
"defaultHeaders",
|
|
156
121
|
"no_referer",
|
|
157
122
|
"redirects",
|
|
158
123
|
"type"
|
|
159
124
|
],
|
|
160
125
|
"description": "Credentials to manage Google Auth https://developers.google.com/identity/protocols/oauth2",
|
|
161
126
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
127
|
+
"definitions": {
|
|
128
|
+
"Record<string,string>": {
|
|
129
|
+
"type": "object",
|
|
130
|
+
"additionalProperties": {
|
|
131
|
+
"type": "string"
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
},
|
|
162
135
|
"title": "GoogleAuthentication"
|
|
163
136
|
}
|
|
164
137
|
}
|