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.
@@ -190,10 +190,15 @@ export declare const protocol2: {
190
190
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
191
191
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
192
192
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
193
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
194
+ readonly path: Schema.String;
195
+ }>>;
193
196
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
194
197
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
195
198
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
196
199
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
200
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
201
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
197
202
  readonly type: Schema.Literal<"oauth2">;
198
203
  }>, Schema.Struct<{
199
204
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -203,32 +208,41 @@ export declare const protocol2: {
203
208
  readonly scopes: Schema.$Array<Schema.String>;
204
209
  readonly issuer: Schema.optionalKey<Schema.String>;
205
210
  readonly discover: Schema.optionalKey<Schema.Never>;
211
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
212
+ readonly path: Schema.String;
213
+ }>>;
206
214
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
207
215
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
208
216
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
209
217
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
218
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
219
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
210
220
  readonly type: Schema.Literal<"oauth2">;
211
221
  }>, Schema.Struct<{
212
222
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
223
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
224
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
225
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
226
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
213
227
  readonly grant: Schema.Literal<"client_credentials">;
214
228
  readonly discover: Schema.String;
215
229
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
216
230
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
217
231
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
218
232
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
219
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
220
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
221
233
  readonly type: Schema.Literal<"oauth2">;
222
234
  }>, Schema.Struct<{
223
235
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
224
- readonly grant: Schema.Literal<"client_credentials">;
225
- readonly tokenUrl: Schema.String;
226
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
227
- readonly scopes: Schema.$Array<Schema.String>;
228
236
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
229
237
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
230
238
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
231
239
  readonly discover: Schema.optionalKey<Schema.Never>;
240
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
241
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
242
+ readonly grant: Schema.Literal<"client_credentials">;
243
+ readonly tokenUrl: Schema.String;
244
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
245
+ readonly scopes: Schema.$Array<Schema.String>;
232
246
  readonly type: Schema.Literal<"oauth2">;
233
247
  }>]>>;
234
248
  }>;
@@ -250,10 +264,15 @@ export declare const protocol2: {
250
264
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
251
265
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
252
266
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
267
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
268
+ readonly path: Schema.String;
269
+ }>>;
253
270
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
254
271
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
255
272
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
256
273
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
274
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
275
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
257
276
  readonly type: Schema.Literal<"oauth2">;
258
277
  }>, Schema.Struct<{
259
278
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -263,32 +282,41 @@ export declare const protocol2: {
263
282
  readonly scopes: Schema.$Array<Schema.String>;
264
283
  readonly issuer: Schema.optionalKey<Schema.String>;
265
284
  readonly discover: Schema.optionalKey<Schema.Never>;
285
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
286
+ readonly path: Schema.String;
287
+ }>>;
266
288
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
267
289
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
268
290
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
269
291
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
292
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
293
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
270
294
  readonly type: Schema.Literal<"oauth2">;
271
295
  }>, Schema.Struct<{
272
296
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
297
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
298
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
299
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
300
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
273
301
  readonly grant: Schema.Literal<"client_credentials">;
274
302
  readonly discover: Schema.String;
275
303
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
276
304
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
277
305
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
278
306
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
279
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
280
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
281
307
  readonly type: Schema.Literal<"oauth2">;
282
308
  }>, Schema.Struct<{
283
309
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
284
- readonly grant: Schema.Literal<"client_credentials">;
285
- readonly tokenUrl: Schema.String;
286
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
287
- readonly scopes: Schema.$Array<Schema.String>;
288
310
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
289
311
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
290
312
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
291
313
  readonly discover: Schema.optionalKey<Schema.Never>;
314
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
315
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
316
+ readonly grant: Schema.Literal<"client_credentials">;
317
+ readonly tokenUrl: Schema.String;
318
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
319
+ readonly scopes: Schema.$Array<Schema.String>;
292
320
  readonly type: Schema.Literal<"oauth2">;
293
321
  }>]>>;
294
322
  }>;
@@ -432,10 +460,15 @@ export declare const protocol2: {
432
460
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
433
461
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
434
462
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
463
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
464
+ readonly path: Schema.String;
465
+ }>>;
435
466
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
436
467
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
437
468
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
438
469
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
470
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
471
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
439
472
  readonly type: Schema.Literal<"oauth2">;
440
473
  }>, Schema.Struct<{
441
474
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -445,32 +478,41 @@ export declare const protocol2: {
445
478
  readonly scopes: Schema.$Array<Schema.String>;
446
479
  readonly issuer: Schema.optionalKey<Schema.String>;
447
480
  readonly discover: Schema.optionalKey<Schema.Never>;
481
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
482
+ readonly path: Schema.String;
483
+ }>>;
448
484
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
449
485
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
450
486
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
451
487
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
488
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
489
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
452
490
  readonly type: Schema.Literal<"oauth2">;
453
491
  }>, Schema.Struct<{
454
492
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
493
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
494
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
495
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
496
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
455
497
  readonly grant: Schema.Literal<"client_credentials">;
456
498
  readonly discover: Schema.String;
457
499
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
458
500
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
459
501
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
460
502
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
461
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
462
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
463
503
  readonly type: Schema.Literal<"oauth2">;
464
504
  }>, Schema.Struct<{
465
505
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
466
- readonly grant: Schema.Literal<"client_credentials">;
467
- readonly tokenUrl: Schema.String;
468
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
469
- readonly scopes: Schema.$Array<Schema.String>;
470
506
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
471
507
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
472
508
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
473
509
  readonly discover: Schema.optionalKey<Schema.Never>;
510
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
511
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
512
+ readonly grant: Schema.Literal<"client_credentials">;
513
+ readonly tokenUrl: Schema.String;
514
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
515
+ readonly scopes: Schema.$Array<Schema.String>;
474
516
  readonly type: Schema.Literal<"oauth2">;
475
517
  }>]>>;
476
518
  }>;
@@ -171,10 +171,15 @@ export declare const protocol3: {
171
171
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
172
172
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
173
173
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
174
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
175
+ readonly path: Schema.String;
176
+ }>>;
174
177
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
175
178
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
176
179
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
177
180
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
181
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
182
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
178
183
  readonly type: Schema.Literal<"oauth2">;
179
184
  }>, Schema.Struct<{
180
185
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -184,32 +189,41 @@ export declare const protocol3: {
184
189
  readonly scopes: Schema.$Array<Schema.String>;
185
190
  readonly issuer: Schema.optionalKey<Schema.String>;
186
191
  readonly discover: Schema.optionalKey<Schema.Never>;
192
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
193
+ readonly path: Schema.String;
194
+ }>>;
187
195
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
188
196
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
189
197
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
190
198
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
199
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
200
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
191
201
  readonly type: Schema.Literal<"oauth2">;
192
202
  }>, Schema.Struct<{
193
203
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
204
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
205
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
206
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
207
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
194
208
  readonly grant: Schema.Literal<"client_credentials">;
195
209
  readonly discover: Schema.String;
196
210
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
197
211
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
198
212
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
199
213
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
200
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
201
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
202
214
  readonly type: Schema.Literal<"oauth2">;
203
215
  }>, Schema.Struct<{
204
216
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
205
- readonly grant: Schema.Literal<"client_credentials">;
206
- readonly tokenUrl: Schema.String;
207
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
208
- readonly scopes: Schema.$Array<Schema.String>;
209
217
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
210
218
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
211
219
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
212
220
  readonly discover: Schema.optionalKey<Schema.Never>;
221
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
222
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
223
+ readonly grant: Schema.Literal<"client_credentials">;
224
+ readonly tokenUrl: Schema.String;
225
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
226
+ readonly scopes: Schema.$Array<Schema.String>;
213
227
  readonly type: Schema.Literal<"oauth2">;
214
228
  }>]>>;
215
229
  }>;
@@ -231,10 +245,15 @@ export declare const protocol3: {
231
245
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
232
246
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
233
247
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
248
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
249
+ readonly path: Schema.String;
250
+ }>>;
234
251
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
235
252
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
236
253
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
237
254
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
255
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
256
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
238
257
  readonly type: Schema.Literal<"oauth2">;
239
258
  }>, Schema.Struct<{
240
259
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -244,32 +263,41 @@ export declare const protocol3: {
244
263
  readonly scopes: Schema.$Array<Schema.String>;
245
264
  readonly issuer: Schema.optionalKey<Schema.String>;
246
265
  readonly discover: Schema.optionalKey<Schema.Never>;
266
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
267
+ readonly path: Schema.String;
268
+ }>>;
247
269
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
248
270
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
249
271
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
250
272
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
273
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
274
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
251
275
  readonly type: Schema.Literal<"oauth2">;
252
276
  }>, Schema.Struct<{
253
277
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
278
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
279
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
280
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
281
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
254
282
  readonly grant: Schema.Literal<"client_credentials">;
255
283
  readonly discover: Schema.String;
256
284
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
257
285
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
258
286
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
259
287
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
260
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
261
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
262
288
  readonly type: Schema.Literal<"oauth2">;
263
289
  }>, Schema.Struct<{
264
290
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
265
- readonly grant: Schema.Literal<"client_credentials">;
266
- readonly tokenUrl: Schema.String;
267
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
268
- readonly scopes: Schema.$Array<Schema.String>;
269
291
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
270
292
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
271
293
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
272
294
  readonly discover: Schema.optionalKey<Schema.Never>;
295
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
296
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
297
+ readonly grant: Schema.Literal<"client_credentials">;
298
+ readonly tokenUrl: Schema.String;
299
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
300
+ readonly scopes: Schema.$Array<Schema.String>;
273
301
  readonly type: Schema.Literal<"oauth2">;
274
302
  }>]>>;
275
303
  }>;
@@ -413,10 +441,15 @@ export declare const protocol3: {
413
441
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
414
442
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
415
443
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
444
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
445
+ readonly path: Schema.String;
446
+ }>>;
416
447
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
417
448
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
418
449
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
419
450
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
451
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
452
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
420
453
  readonly type: Schema.Literal<"oauth2">;
421
454
  }>, Schema.Struct<{
422
455
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -426,32 +459,41 @@ export declare const protocol3: {
426
459
  readonly scopes: Schema.$Array<Schema.String>;
427
460
  readonly issuer: Schema.optionalKey<Schema.String>;
428
461
  readonly discover: Schema.optionalKey<Schema.Never>;
462
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
463
+ readonly path: Schema.String;
464
+ }>>;
429
465
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
430
466
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
431
467
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
432
468
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
469
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
470
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
433
471
  readonly type: Schema.Literal<"oauth2">;
434
472
  }>, Schema.Struct<{
435
473
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
474
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
475
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
476
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
477
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
436
478
  readonly grant: Schema.Literal<"client_credentials">;
437
479
  readonly discover: Schema.String;
438
480
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
439
481
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
440
482
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
441
483
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
442
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
443
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
444
484
  readonly type: Schema.Literal<"oauth2">;
445
485
  }>, Schema.Struct<{
446
486
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
447
- readonly grant: Schema.Literal<"client_credentials">;
448
- readonly tokenUrl: Schema.String;
449
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
450
- readonly scopes: Schema.$Array<Schema.String>;
451
487
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
452
488
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
453
489
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
454
490
  readonly discover: Schema.optionalKey<Schema.Never>;
491
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
492
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
493
+ readonly grant: Schema.Literal<"client_credentials">;
494
+ readonly tokenUrl: Schema.String;
495
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
496
+ readonly scopes: Schema.$Array<Schema.String>;
455
497
  readonly type: Schema.Literal<"oauth2">;
456
498
  }>]>>;
457
499
  }>;