apps 0.0.1-beta.12 → 0.0.1-beta.13

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.
@@ -42,10 +42,15 @@ export declare const DeclaredAuthMethod: Schema.Union<readonly [Schema.Struct<{
42
42
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
43
43
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
44
44
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
45
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
46
+ readonly path: Schema.String;
47
+ }>>;
45
48
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
46
49
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
47
50
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
48
51
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
52
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
53
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
49
54
  readonly type: Schema.Literal<"oauth2">;
50
55
  }>, Schema.Struct<{
51
56
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -55,32 +60,41 @@ export declare const DeclaredAuthMethod: Schema.Union<readonly [Schema.Struct<{
55
60
  readonly scopes: Schema.$Array<Schema.String>;
56
61
  readonly issuer: Schema.optionalKey<Schema.String>;
57
62
  readonly discover: Schema.optionalKey<Schema.Never>;
63
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
64
+ readonly path: Schema.String;
65
+ }>>;
58
66
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
59
67
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
60
68
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
61
69
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
70
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
71
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
62
72
  readonly type: Schema.Literal<"oauth2">;
63
73
  }>, Schema.Struct<{
64
74
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
75
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
76
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
77
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
78
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
65
79
  readonly grant: Schema.Literal<"client_credentials">;
66
80
  readonly discover: Schema.String;
67
81
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
68
82
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
69
83
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
70
84
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
71
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
72
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
73
85
  readonly type: Schema.Literal<"oauth2">;
74
86
  }>, Schema.Struct<{
75
87
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
76
- readonly grant: Schema.Literal<"client_credentials">;
77
- readonly tokenUrl: Schema.String;
78
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
79
- readonly scopes: Schema.$Array<Schema.String>;
80
88
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
81
89
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
82
90
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
83
91
  readonly discover: Schema.optionalKey<Schema.Never>;
92
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
93
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
94
+ readonly grant: Schema.Literal<"client_credentials">;
95
+ readonly tokenUrl: Schema.String;
96
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
97
+ readonly scopes: Schema.$Array<Schema.String>;
84
98
  readonly type: Schema.Literal<"oauth2">;
85
99
  }>]>;
86
100
  /** Serializable declaration of a provider's named authentication methods. */
@@ -97,10 +111,15 @@ export declare const DeclaredProvider: Schema.Struct<{
97
111
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
98
112
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
99
113
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
114
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
115
+ readonly path: Schema.String;
116
+ }>>;
100
117
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
101
118
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
102
119
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
103
120
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
121
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
122
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
104
123
  readonly type: Schema.Literal<"oauth2">;
105
124
  }>, Schema.Struct<{
106
125
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -110,32 +129,41 @@ export declare const DeclaredProvider: Schema.Struct<{
110
129
  readonly scopes: Schema.$Array<Schema.String>;
111
130
  readonly issuer: Schema.optionalKey<Schema.String>;
112
131
  readonly discover: Schema.optionalKey<Schema.Never>;
132
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
133
+ readonly path: Schema.String;
134
+ }>>;
113
135
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
114
136
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
115
137
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
116
138
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
139
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
140
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
117
141
  readonly type: Schema.Literal<"oauth2">;
118
142
  }>, Schema.Struct<{
119
143
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
144
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
145
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
146
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
147
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
120
148
  readonly grant: Schema.Literal<"client_credentials">;
121
149
  readonly discover: Schema.String;
122
150
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
123
151
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
124
152
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
125
153
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
126
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
127
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
128
154
  readonly type: Schema.Literal<"oauth2">;
129
155
  }>, Schema.Struct<{
130
156
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
131
- readonly grant: Schema.Literal<"client_credentials">;
132
- readonly tokenUrl: Schema.String;
133
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
134
- readonly scopes: Schema.$Array<Schema.String>;
135
157
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
136
158
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
137
159
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
138
160
  readonly discover: Schema.optionalKey<Schema.Never>;
161
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
162
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
163
+ readonly grant: Schema.Literal<"client_credentials">;
164
+ readonly tokenUrl: Schema.String;
165
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
166
+ readonly scopes: Schema.$Array<Schema.String>;
139
167
  readonly type: Schema.Literal<"oauth2">;
140
168
  }>]>>;
141
169
  }>;
@@ -179,10 +207,15 @@ export declare const DeclaredRequirements: Schema.Struct<{
179
207
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
180
208
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
181
209
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
210
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
211
+ readonly path: Schema.String;
212
+ }>>;
182
213
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
183
214
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
184
215
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
185
216
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
217
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
218
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
186
219
  readonly type: Schema.Literal<"oauth2">;
187
220
  }>, Schema.Struct<{
188
221
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -192,32 +225,41 @@ export declare const DeclaredRequirements: Schema.Struct<{
192
225
  readonly scopes: Schema.$Array<Schema.String>;
193
226
  readonly issuer: Schema.optionalKey<Schema.String>;
194
227
  readonly discover: Schema.optionalKey<Schema.Never>;
228
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
229
+ readonly path: Schema.String;
230
+ }>>;
195
231
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
196
232
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
197
233
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
198
234
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
235
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
236
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
199
237
  readonly type: Schema.Literal<"oauth2">;
200
238
  }>, Schema.Struct<{
201
239
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
240
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
241
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
242
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
243
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
202
244
  readonly grant: Schema.Literal<"client_credentials">;
203
245
  readonly discover: Schema.String;
204
246
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
205
247
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
206
248
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
207
249
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
208
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
209
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
210
250
  readonly type: Schema.Literal<"oauth2">;
211
251
  }>, Schema.Struct<{
212
252
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
213
- readonly grant: Schema.Literal<"client_credentials">;
214
- readonly tokenUrl: Schema.String;
215
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
216
- readonly scopes: Schema.$Array<Schema.String>;
217
253
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
218
254
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
219
255
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
220
256
  readonly discover: Schema.optionalKey<Schema.Never>;
257
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
258
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
259
+ readonly grant: Schema.Literal<"client_credentials">;
260
+ readonly tokenUrl: Schema.String;
261
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
262
+ readonly scopes: Schema.$Array<Schema.String>;
221
263
  readonly type: Schema.Literal<"oauth2">;
222
264
  }>]>>;
223
265
  }>;
@@ -242,10 +284,15 @@ export declare const ResolvedAccount: Schema.Struct<{
242
284
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
243
285
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
244
286
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
287
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
288
+ readonly path: Schema.String;
289
+ }>>;
245
290
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
246
291
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
247
292
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
248
293
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
294
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
295
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
249
296
  readonly type: Schema.Literal<"oauth2">;
250
297
  }>, Schema.Struct<{
251
298
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -255,32 +302,41 @@ export declare const ResolvedAccount: Schema.Struct<{
255
302
  readonly scopes: Schema.$Array<Schema.String>;
256
303
  readonly issuer: Schema.optionalKey<Schema.String>;
257
304
  readonly discover: Schema.optionalKey<Schema.Never>;
305
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
306
+ readonly path: Schema.String;
307
+ }>>;
258
308
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
259
309
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
260
310
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
261
311
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
312
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
313
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
262
314
  readonly type: Schema.Literal<"oauth2">;
263
315
  }>, Schema.Struct<{
264
316
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
317
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
318
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
319
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
320
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
265
321
  readonly grant: Schema.Literal<"client_credentials">;
266
322
  readonly discover: Schema.String;
267
323
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
268
324
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
269
325
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
270
326
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
271
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
272
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
273
327
  readonly type: Schema.Literal<"oauth2">;
274
328
  }>, Schema.Struct<{
275
329
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
276
- readonly grant: Schema.Literal<"client_credentials">;
277
- readonly tokenUrl: Schema.String;
278
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
279
- readonly scopes: Schema.$Array<Schema.String>;
280
330
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
281
331
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
282
332
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
283
333
  readonly discover: Schema.optionalKey<Schema.Never>;
334
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
335
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
336
+ readonly grant: Schema.Literal<"client_credentials">;
337
+ readonly tokenUrl: Schema.String;
338
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
339
+ readonly scopes: Schema.$Array<Schema.String>;
284
340
  readonly type: Schema.Literal<"oauth2">;
285
341
  }>]>>;
286
342
  }>;
@@ -310,10 +366,15 @@ export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Sch
310
366
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
311
367
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
312
368
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
369
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
370
+ readonly path: Schema.String;
371
+ }>>;
313
372
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
314
373
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
315
374
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
316
375
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
376
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
377
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
317
378
  readonly type: Schema.Literal<"oauth2">;
318
379
  }>, Schema.Struct<{
319
380
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -323,32 +384,41 @@ export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Sch
323
384
  readonly scopes: Schema.$Array<Schema.String>;
324
385
  readonly issuer: Schema.optionalKey<Schema.String>;
325
386
  readonly discover: Schema.optionalKey<Schema.Never>;
387
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
388
+ readonly path: Schema.String;
389
+ }>>;
326
390
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
327
391
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
328
392
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
329
393
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
394
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
395
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
330
396
  readonly type: Schema.Literal<"oauth2">;
331
397
  }>, Schema.Struct<{
332
398
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
399
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
400
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
401
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
402
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
333
403
  readonly grant: Schema.Literal<"client_credentials">;
334
404
  readonly discover: Schema.String;
335
405
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
336
406
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
337
407
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
338
408
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
339
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
340
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
341
409
  readonly type: Schema.Literal<"oauth2">;
342
410
  }>, Schema.Struct<{
343
411
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
344
- readonly grant: Schema.Literal<"client_credentials">;
345
- readonly tokenUrl: Schema.String;
346
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
347
- readonly scopes: Schema.$Array<Schema.String>;
348
412
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
349
413
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
350
414
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
351
415
  readonly discover: Schema.optionalKey<Schema.Never>;
416
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
417
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
418
+ readonly grant: Schema.Literal<"client_credentials">;
419
+ readonly tokenUrl: Schema.String;
420
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
421
+ readonly scopes: Schema.$Array<Schema.String>;
352
422
  readonly type: Schema.Literal<"oauth2">;
353
423
  }>]>>;
354
424
  }>;
@@ -374,10 +444,15 @@ export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Sch
374
444
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
375
445
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
376
446
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
447
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
448
+ readonly path: Schema.String;
449
+ }>>;
377
450
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
378
451
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
379
452
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
380
453
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
454
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
455
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
381
456
  readonly type: Schema.Literal<"oauth2">;
382
457
  }>, Schema.Struct<{
383
458
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -387,32 +462,41 @@ export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Sch
387
462
  readonly scopes: Schema.$Array<Schema.String>;
388
463
  readonly issuer: Schema.optionalKey<Schema.String>;
389
464
  readonly discover: Schema.optionalKey<Schema.Never>;
465
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
466
+ readonly path: Schema.String;
467
+ }>>;
390
468
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
391
469
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
392
470
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
393
471
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
472
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
473
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
394
474
  readonly type: Schema.Literal<"oauth2">;
395
475
  }>, Schema.Struct<{
396
476
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
477
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
478
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
479
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
480
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
397
481
  readonly grant: Schema.Literal<"client_credentials">;
398
482
  readonly discover: Schema.String;
399
483
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
400
484
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
401
485
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
402
486
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
403
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
404
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
405
487
  readonly type: Schema.Literal<"oauth2">;
406
488
  }>, Schema.Struct<{
407
489
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
408
- readonly grant: Schema.Literal<"client_credentials">;
409
- readonly tokenUrl: Schema.String;
410
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
411
- readonly scopes: Schema.$Array<Schema.String>;
412
490
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
413
491
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
414
492
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
415
493
  readonly discover: Schema.optionalKey<Schema.Never>;
494
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
495
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
496
+ readonly grant: Schema.Literal<"client_credentials">;
497
+ readonly tokenUrl: Schema.String;
498
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
499
+ readonly scopes: Schema.$Array<Schema.String>;
416
500
  readonly type: Schema.Literal<"oauth2">;
417
501
  }>]>>;
418
502
  }>;
@@ -828,10 +912,15 @@ export declare const HostInvocation: Schema.Struct<{
828
912
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
829
913
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
830
914
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
915
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
916
+ readonly path: Schema.String;
917
+ }>>;
831
918
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
832
919
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
833
920
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
834
921
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
922
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
923
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
835
924
  readonly type: Schema.Literal<"oauth2">;
836
925
  }>, Schema.Struct<{
837
926
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -841,32 +930,41 @@ export declare const HostInvocation: Schema.Struct<{
841
930
  readonly scopes: Schema.$Array<Schema.String>;
842
931
  readonly issuer: Schema.optionalKey<Schema.String>;
843
932
  readonly discover: Schema.optionalKey<Schema.Never>;
933
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
934
+ readonly path: Schema.String;
935
+ }>>;
844
936
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
845
937
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
846
938
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
847
939
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
940
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
941
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
848
942
  readonly type: Schema.Literal<"oauth2">;
849
943
  }>, Schema.Struct<{
850
944
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
945
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
946
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
947
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
948
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
851
949
  readonly grant: Schema.Literal<"client_credentials">;
852
950
  readonly discover: Schema.String;
853
951
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
854
952
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
855
953
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
856
954
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
857
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
858
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
859
955
  readonly type: Schema.Literal<"oauth2">;
860
956
  }>, Schema.Struct<{
861
957
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
862
- readonly grant: Schema.Literal<"client_credentials">;
863
- readonly tokenUrl: Schema.String;
864
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
865
- readonly scopes: Schema.$Array<Schema.String>;
866
958
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
867
959
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
868
960
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
869
961
  readonly discover: Schema.optionalKey<Schema.Never>;
962
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
963
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
964
+ readonly grant: Schema.Literal<"client_credentials">;
965
+ readonly tokenUrl: Schema.String;
966
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
967
+ readonly scopes: Schema.$Array<Schema.String>;
870
968
  readonly type: Schema.Literal<"oauth2">;
871
969
  }>]>>;
872
970
  }>;
@@ -892,10 +990,15 @@ export declare const HostInvocation: Schema.Struct<{
892
990
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
893
991
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
894
992
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
993
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
994
+ readonly path: Schema.String;
995
+ }>>;
895
996
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
896
997
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
897
998
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
898
999
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1000
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1001
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
899
1002
  readonly type: Schema.Literal<"oauth2">;
900
1003
  }>, Schema.Struct<{
901
1004
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -905,32 +1008,41 @@ export declare const HostInvocation: Schema.Struct<{
905
1008
  readonly scopes: Schema.$Array<Schema.String>;
906
1009
  readonly issuer: Schema.optionalKey<Schema.String>;
907
1010
  readonly discover: Schema.optionalKey<Schema.Never>;
1011
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
1012
+ readonly path: Schema.String;
1013
+ }>>;
908
1014
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
909
1015
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
910
1016
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
911
1017
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1018
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1019
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
912
1020
  readonly type: Schema.Literal<"oauth2">;
913
1021
  }>, Schema.Struct<{
914
1022
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
1023
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1024
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1025
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1026
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
915
1027
  readonly grant: Schema.Literal<"client_credentials">;
916
1028
  readonly discover: Schema.String;
917
1029
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
918
1030
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
919
1031
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
920
1032
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
921
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
922
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
923
1033
  readonly type: Schema.Literal<"oauth2">;
924
1034
  }>, Schema.Struct<{
925
1035
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
926
- readonly grant: Schema.Literal<"client_credentials">;
927
- readonly tokenUrl: Schema.String;
928
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
929
- readonly scopes: Schema.$Array<Schema.String>;
930
1036
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
931
1037
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
932
1038
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
933
1039
  readonly discover: Schema.optionalKey<Schema.Never>;
1040
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1041
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1042
+ readonly grant: Schema.Literal<"client_credentials">;
1043
+ readonly tokenUrl: Schema.String;
1044
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
1045
+ readonly scopes: Schema.$Array<Schema.String>;
934
1046
  readonly type: Schema.Literal<"oauth2">;
935
1047
  }>]>>;
936
1048
  }>;
@@ -1065,10 +1177,15 @@ export declare const protocol1: {
1065
1177
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
1066
1178
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
1067
1179
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
1180
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
1181
+ readonly path: Schema.String;
1182
+ }>>;
1068
1183
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
1069
1184
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1070
1185
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
1071
1186
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1187
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1188
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1072
1189
  readonly type: Schema.Literal<"oauth2">;
1073
1190
  }>, Schema.Struct<{
1074
1191
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -1078,32 +1195,41 @@ export declare const protocol1: {
1078
1195
  readonly scopes: Schema.$Array<Schema.String>;
1079
1196
  readonly issuer: Schema.optionalKey<Schema.String>;
1080
1197
  readonly discover: Schema.optionalKey<Schema.Never>;
1198
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
1199
+ readonly path: Schema.String;
1200
+ }>>;
1081
1201
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
1082
1202
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1083
1203
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
1084
1204
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1205
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1206
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1085
1207
  readonly type: Schema.Literal<"oauth2">;
1086
1208
  }>, Schema.Struct<{
1087
1209
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
1210
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1211
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1212
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1213
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1088
1214
  readonly grant: Schema.Literal<"client_credentials">;
1089
1215
  readonly discover: Schema.String;
1090
1216
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
1091
1217
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
1092
1218
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
1093
1219
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
1094
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1095
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1096
1220
  readonly type: Schema.Literal<"oauth2">;
1097
1221
  }>, Schema.Struct<{
1098
1222
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
1099
- readonly grant: Schema.Literal<"client_credentials">;
1100
- readonly tokenUrl: Schema.String;
1101
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
1102
- readonly scopes: Schema.$Array<Schema.String>;
1103
1223
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1104
1224
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1105
1225
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
1106
1226
  readonly discover: Schema.optionalKey<Schema.Never>;
1227
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1228
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1229
+ readonly grant: Schema.Literal<"client_credentials">;
1230
+ readonly tokenUrl: Schema.String;
1231
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
1232
+ readonly scopes: Schema.$Array<Schema.String>;
1107
1233
  readonly type: Schema.Literal<"oauth2">;
1108
1234
  }>]>>;
1109
1235
  }>;
@@ -1129,10 +1255,15 @@ export declare const protocol1: {
1129
1255
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
1130
1256
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
1131
1257
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
1258
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
1259
+ readonly path: Schema.String;
1260
+ }>>;
1132
1261
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
1133
1262
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1134
1263
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
1135
1264
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1265
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1266
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1136
1267
  readonly type: Schema.Literal<"oauth2">;
1137
1268
  }>, Schema.Struct<{
1138
1269
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -1142,32 +1273,41 @@ export declare const protocol1: {
1142
1273
  readonly scopes: Schema.$Array<Schema.String>;
1143
1274
  readonly issuer: Schema.optionalKey<Schema.String>;
1144
1275
  readonly discover: Schema.optionalKey<Schema.Never>;
1276
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
1277
+ readonly path: Schema.String;
1278
+ }>>;
1145
1279
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
1146
1280
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1147
1281
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
1148
1282
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1283
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1284
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1149
1285
  readonly type: Schema.Literal<"oauth2">;
1150
1286
  }>, Schema.Struct<{
1151
1287
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
1288
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1289
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1290
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1291
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1152
1292
  readonly grant: Schema.Literal<"client_credentials">;
1153
1293
  readonly discover: Schema.String;
1154
1294
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
1155
1295
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
1156
1296
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
1157
1297
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
1158
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1159
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1160
1298
  readonly type: Schema.Literal<"oauth2">;
1161
1299
  }>, Schema.Struct<{
1162
1300
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
1163
- readonly grant: Schema.Literal<"client_credentials">;
1164
- readonly tokenUrl: Schema.String;
1165
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
1166
- readonly scopes: Schema.$Array<Schema.String>;
1167
1301
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1168
1302
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1169
1303
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
1170
1304
  readonly discover: Schema.optionalKey<Schema.Never>;
1305
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1306
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1307
+ readonly grant: Schema.Literal<"client_credentials">;
1308
+ readonly tokenUrl: Schema.String;
1309
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
1310
+ readonly scopes: Schema.$Array<Schema.String>;
1171
1311
  readonly type: Schema.Literal<"oauth2">;
1172
1312
  }>]>>;
1173
1313
  }>;
@@ -1326,10 +1466,15 @@ export declare const protocol1: {
1326
1466
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
1327
1467
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
1328
1468
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
1469
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
1470
+ readonly path: Schema.String;
1471
+ }>>;
1329
1472
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
1330
1473
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1331
1474
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
1332
1475
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1476
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1477
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1333
1478
  readonly type: Schema.Literal<"oauth2">;
1334
1479
  }>, Schema.Struct<{
1335
1480
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -1339,32 +1484,41 @@ export declare const protocol1: {
1339
1484
  readonly scopes: Schema.$Array<Schema.String>;
1340
1485
  readonly issuer: Schema.optionalKey<Schema.String>;
1341
1486
  readonly discover: Schema.optionalKey<Schema.Never>;
1487
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
1488
+ readonly path: Schema.String;
1489
+ }>>;
1342
1490
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
1343
1491
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1344
1492
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
1345
1493
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1494
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1495
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1346
1496
  readonly type: Schema.Literal<"oauth2">;
1347
1497
  }>, Schema.Struct<{
1348
1498
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
1499
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1500
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1501
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1502
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1349
1503
  readonly grant: Schema.Literal<"client_credentials">;
1350
1504
  readonly discover: Schema.String;
1351
1505
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
1352
1506
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
1353
1507
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
1354
1508
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
1355
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1356
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1357
1509
  readonly type: Schema.Literal<"oauth2">;
1358
1510
  }>, Schema.Struct<{
1359
1511
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
1360
- readonly grant: Schema.Literal<"client_credentials">;
1361
- readonly tokenUrl: Schema.String;
1362
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
1363
- readonly scopes: Schema.$Array<Schema.String>;
1364
1512
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1365
1513
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1366
1514
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
1367
1515
  readonly discover: Schema.optionalKey<Schema.Never>;
1516
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1517
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1518
+ readonly grant: Schema.Literal<"client_credentials">;
1519
+ readonly tokenUrl: Schema.String;
1520
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
1521
+ readonly scopes: Schema.$Array<Schema.String>;
1368
1522
  readonly type: Schema.Literal<"oauth2">;
1369
1523
  }>]>>;
1370
1524
  }>;