@zuplo/lint-win32-x64 7.7.4 → 7.7.5
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.
|
@@ -94,6 +94,25 @@
|
|
|
94
94
|
"type": "object",
|
|
95
95
|
"additionalProperties": false,
|
|
96
96
|
"required": [],
|
|
97
|
+
"if": {
|
|
98
|
+
"required": ["credentialPassthrough"],
|
|
99
|
+
"properties": {
|
|
100
|
+
"credentialPassthrough": {
|
|
101
|
+
"const": true
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"then": {
|
|
106
|
+
"required": ["authHeader"],
|
|
107
|
+
"properties": {
|
|
108
|
+
"authHeader": {
|
|
109
|
+
"minLength": 1,
|
|
110
|
+
"not": {
|
|
111
|
+
"pattern": "^\\s*[Aa][Uu][Tt][Hh][Oo][Rr][Ii][Zz][Aa][Tt][Ii][Oo][Nn]\\s*$"
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
},
|
|
97
116
|
"properties": {
|
|
98
117
|
"cacheTtlSeconds": {
|
|
99
118
|
"type": "number",
|
|
@@ -106,14 +125,19 @@
|
|
|
106
125
|
"default": "Authorization",
|
|
107
126
|
"x-show-example": false,
|
|
108
127
|
"x-advanced": true,
|
|
109
|
-
"description": "The
|
|
128
|
+
"description": "The header containing the Zuplo gateway key. When credentialPassthrough is true, configure a header other than Authorization, such as zp-gateway-api-key."
|
|
110
129
|
},
|
|
111
130
|
"authScheme": {
|
|
112
131
|
"type": "string",
|
|
113
132
|
"default": "Bearer",
|
|
114
133
|
"x-show-example": false,
|
|
115
134
|
"x-advanced": true,
|
|
116
|
-
"description": "The scheme used on the header."
|
|
135
|
+
"description": "The scheme used on the configured gateway key header. Set to an empty string for a bare key."
|
|
136
|
+
},
|
|
137
|
+
"credentialPassthrough": {
|
|
138
|
+
"type": "boolean",
|
|
139
|
+
"default": false,
|
|
140
|
+
"description": "Forward the caller's complete Authorization header to the primary provider instead of its configured credential. Requires a separate authHeader for the Zuplo key. Primary retries reuse the caller credential; error and quota fallbacks use configured credentials. Semantic caching is bypassed."
|
|
117
141
|
}
|
|
118
142
|
}
|
|
119
143
|
}
|
package/bin/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
7.7.
|
|
1
|
+
7.7.5
|