@absolutejs/auth 0.50.0 → 0.52.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.
@@ -1,11 +1,1745 @@
1
1
  import { CredentialsFor, OAuth2Client, ProviderOption } from 'citra';
2
- import { OAuth2ConfigurationOptions, OAuth2ProviderClientConfiguration, ClientProviderEntry, ClientProviderGroup } from '../types';
3
- export declare const buildClientProviders: (providersConfiguration: OAuth2ConfigurationOptions, createOAuth2ClientFn: <P extends ProviderOption>(providerName: P, config: CredentialsFor<P>) => Promise<OAuth2Client<P>>) => Promise<{
4
- [k: string]: {
2
+ import { CustomProvidersConfiguration, OAuth2ConfigurationOptions, OAuth2ProviderClientConfiguration, ClientProviderEntry, ClientProviderGroup } from '../types';
3
+ export declare const buildClientProviders: (providersConfiguration: OAuth2ConfigurationOptions, createOAuth2ClientFn: <P extends ProviderOption>(providerName: P, config: CredentialsFor<P>) => Promise<OAuth2Client<P>>, customProviders?: CustomProvidersConfiguration) => Promise<{
4
+ [x: string]: {
5
+ entries: {
6
+ [k: string]: {
7
+ clientName: string | undefined;
8
+ providerConfiguration: import("citra").ProviderConfig;
9
+ providerInstance: import("citra").BaseOAuth2ClientForConfig<import("citra").ProviderConfig>;
10
+ requiresPKCE: boolean;
11
+ scope: string[] | undefined;
12
+ searchParams: [string, string][] | undefined;
13
+ };
14
+ };
15
+ isSingleClient: boolean;
16
+ } | {
5
17
  entries: {
6
18
  [k: string]: {
7
19
  clientName: string | undefined;
8
- providerInstance: import("citra").BaseOAuth2Client<"42" | "amazoncognito" | "anilist" | "apple" | "atlassian" | "attio" | "auth0" | "authentik" | "autodesk" | "battlenet" | "bitbucket" | "box" | "bungie" | "calendly" | "close" | "coinbase" | "discord" | "donationalerts" | "dribbble" | "dropbox" | "epicgames" | "etsy" | "facebook" | "figma" | "gitea" | "github" | "gitlab" | "gohighlevel" | "google" | "hubspot" | "intuit" | "kakao" | "keycloak" | "kick" | "lichess" | "line" | "linear" | "linkedin" | "mastodon" | "mercadolibre" | "mercadopago" | "microsoftentraid" | "monday" | "myanimelist" | "naver" | "notion" | "okta" | "osu" | "patreon" | "pipedrive" | "polar" | "polaraccesslink" | "polarteampro" | "reddit" | "roblox" | "salesforce" | "shikimori" | "slack" | "slackuser" | "spotify" | "startgg" | "strava" | "synology" | "tiktok" | "tiltify" | "tumblr" | "twitch" | "twitter" | "vk" | "withings" | "workos" | "yahoo" | "yandex" | "zoho" | "zoom">;
20
+ providerConfiguration: ({
21
+ authorizationUrl: string;
22
+ isOIDC: false;
23
+ isRefreshable: true;
24
+ profileRequest: {
25
+ authIn: "header";
26
+ encoding: "application/json";
27
+ method: "GET";
28
+ url: string;
29
+ };
30
+ scopeRequired: false;
31
+ subject: string[];
32
+ subjectType: "string";
33
+ tokenRequest: {
34
+ authIn: "body";
35
+ encoding: "application/x-www-form-urlencoded";
36
+ url: string;
37
+ };
38
+ } & import("citra").ProviderConfig) | ({
39
+ authorizationUrl: string;
40
+ isOIDC: true;
41
+ isRefreshable: true;
42
+ PKCEMethod: "S256";
43
+ profileRequest: {
44
+ authIn: "header";
45
+ encoding: "application/json";
46
+ method: "GET";
47
+ url: (config: any) => string;
48
+ };
49
+ revocationRequest: {
50
+ authIn: "body";
51
+ encoding: "application/json";
52
+ tokenParamName: "token";
53
+ url: (config: any) => string;
54
+ };
55
+ scopeRequired: false;
56
+ subject: string[];
57
+ subjectType: "string";
58
+ tokenRequest: {
59
+ authIn: "body";
60
+ encoding: "application/x-www-form-urlencoded";
61
+ url: (config: any) => string;
62
+ };
63
+ } & import("citra").ProviderConfig) | ({
64
+ authorizationUrl: string;
65
+ isOIDC: false;
66
+ isRefreshable: true;
67
+ profileRequest: {
68
+ authIn: "header";
69
+ body: {
70
+ query: string;
71
+ };
72
+ encoding: "application/json";
73
+ headers: {
74
+ Accept: string;
75
+ "Content-Type": string;
76
+ };
77
+ method: "POST";
78
+ url: string;
79
+ };
80
+ scopeRequired: false;
81
+ subject: string[];
82
+ subjectType: "number";
83
+ tokenRequest: {
84
+ authIn: "body";
85
+ encoding: "application/x-www-form-urlencoded";
86
+ url: string;
87
+ };
88
+ } & import("citra").ProviderConfig) | ({
89
+ authorizationUrl: string;
90
+ isOIDC: true;
91
+ isRefreshable: true;
92
+ PKCEMethod: "S256";
93
+ profileRequest: {
94
+ authIn: "header";
95
+ encoding: "application/json";
96
+ method: "GET";
97
+ url: string;
98
+ };
99
+ scopeRequired: false;
100
+ subject: string[];
101
+ subjectType: "string";
102
+ tokenRequest: {
103
+ authIn: "body";
104
+ encoding: "application/x-www-form-urlencoded";
105
+ url: string;
106
+ };
107
+ } & import("citra").ProviderConfig) | ({
108
+ authorizationUrl: string;
109
+ createAuthorizationURLSearchParams: {
110
+ audience: string;
111
+ };
112
+ email: string[];
113
+ fullName: string[];
114
+ isOIDC: false;
115
+ isRefreshable: true;
116
+ picture: string[];
117
+ profileRequest: {
118
+ authIn: "header";
119
+ encoding: "application/json";
120
+ method: "GET";
121
+ url: string;
122
+ };
123
+ scopeRequired: true;
124
+ subject: string[];
125
+ subjectType: "string";
126
+ tokenRequest: {
127
+ authIn: "body";
128
+ encoding: "application/x-www-form-urlencoded";
129
+ url: string;
130
+ };
131
+ } & import("citra").ProviderConfig) | ({
132
+ authorizationUrl: string;
133
+ isOIDC: false;
134
+ isRefreshable: true;
135
+ profileRequest: {
136
+ authIn: "header";
137
+ encoding: "application/json";
138
+ method: "GET";
139
+ url: string;
140
+ };
141
+ scopeRequired: true;
142
+ subject: string[];
143
+ subjectType: "string";
144
+ tokenRequest: {
145
+ authIn: "body";
146
+ encoding: "application/x-www-form-urlencoded";
147
+ url: string;
148
+ };
149
+ } & import("citra").ProviderConfig) | ({
150
+ authorizationUrl: (config: any) => string;
151
+ isOIDC: true;
152
+ isRefreshable: true;
153
+ PKCEMethod: "S256";
154
+ profileRequest: {
155
+ authIn: "header";
156
+ encoding: "application/json";
157
+ method: "GET";
158
+ url: (config: any) => string;
159
+ };
160
+ revocationRequest: {
161
+ authIn: "body";
162
+ body: URLSearchParams;
163
+ encoding: "application/json";
164
+ tokenParamName: "token";
165
+ url: (config: any) => string;
166
+ };
167
+ scopeRequired: false;
168
+ subject: string[];
169
+ subjectType: "string";
170
+ tokenRequest: {
171
+ authIn: "body";
172
+ encoding: "application/x-www-form-urlencoded";
173
+ url: (config: any) => string;
174
+ };
175
+ } & import("citra").ProviderConfig) | ({
176
+ authorizationUrl: (config: any) => string;
177
+ isOIDC: true;
178
+ isRefreshable: true;
179
+ PKCEMethod: "S256";
180
+ profileRequest: {
181
+ authIn: "header";
182
+ encoding: "application/json";
183
+ method: "GET";
184
+ url: (config: any) => string;
185
+ };
186
+ scopeRequired: false;
187
+ subject: string[];
188
+ subjectType: "string";
189
+ tokenRequest: {
190
+ authIn: "body";
191
+ encoding: "application/x-www-form-urlencoded";
192
+ url: (config: any) => string;
193
+ };
194
+ } & import("citra").ProviderConfig) | ({
195
+ authorizationUrl: string;
196
+ email: string[];
197
+ familyName: string[];
198
+ fullName: string[];
199
+ givenName: string[];
200
+ isOIDC: true;
201
+ isRefreshable: true;
202
+ picture: string[];
203
+ PKCEMethod: "S256";
204
+ profileRequest: {
205
+ authIn: "header";
206
+ encoding: "application/json";
207
+ method: "GET";
208
+ url: string;
209
+ };
210
+ scopeRequired: false;
211
+ subject: string[];
212
+ subjectType: "string";
213
+ tokenRequest: {
214
+ authIn: "body";
215
+ encoding: "application/x-www-form-urlencoded";
216
+ url: string;
217
+ };
218
+ } & import("citra").ProviderConfig) | ({
219
+ authorizationUrl: string;
220
+ isOIDC: true;
221
+ isRefreshable: false;
222
+ profileRequest: {
223
+ authIn: "header";
224
+ encoding: "application/json";
225
+ method: "GET";
226
+ url: string;
227
+ };
228
+ scopeRequired: false;
229
+ subject: string[];
230
+ subjectType: "string";
231
+ tokenRequest: {
232
+ authIn: "body";
233
+ encoding: "application/x-www-form-urlencoded";
234
+ url: string;
235
+ };
236
+ } & import("citra").ProviderConfig) | ({
237
+ authorizationUrl: string;
238
+ fullName: string[];
239
+ isOIDC: false;
240
+ isRefreshable: true;
241
+ picture: string[];
242
+ profileRequest: {
243
+ authIn: "header";
244
+ encoding: "application/json";
245
+ method: "GET";
246
+ url: string;
247
+ };
248
+ scopeRequired: false;
249
+ subject: string[];
250
+ subjectType: "string";
251
+ tokenRequest: {
252
+ authIn: "body";
253
+ encoding: "application/x-www-form-urlencoded";
254
+ url: string;
255
+ };
256
+ } & import("citra").ProviderConfig) | ({
257
+ authorizationUrl: string;
258
+ email: string[];
259
+ fullName: string[];
260
+ isOIDC: false;
261
+ isRefreshable: true;
262
+ picture: string[];
263
+ profileRequest: {
264
+ authIn: "header";
265
+ encoding: "application/json";
266
+ method: "GET";
267
+ url: string;
268
+ };
269
+ revocationRequest: {
270
+ authIn: "body";
271
+ encoding: "application/json";
272
+ tokenParamName: "token";
273
+ url: string;
274
+ };
275
+ scopeRequired: false;
276
+ subject: string[];
277
+ subjectType: "string";
278
+ tokenRequest: {
279
+ authIn: "body";
280
+ encoding: "application/x-www-form-urlencoded";
281
+ url: string;
282
+ };
283
+ } & import("citra").ProviderConfig) | ({
284
+ authorizationUrl: string;
285
+ isOIDC: false;
286
+ isRefreshable: true;
287
+ profileRequest: {
288
+ authIn: "header";
289
+ encoding: "application/json";
290
+ headers: {
291
+ "X-API-Key": string;
292
+ };
293
+ method: "GET";
294
+ url: string;
295
+ };
296
+ scopeRequired: false;
297
+ subject: string[];
298
+ subjectType: "number";
299
+ tokenRequest: {
300
+ authIn: "body";
301
+ encoding: "application/x-www-form-urlencoded";
302
+ url: string;
303
+ };
304
+ } & import("citra").ProviderConfig) | ({
305
+ authorizationUrl: string;
306
+ email: string[];
307
+ fullName: string[];
308
+ isOIDC: false;
309
+ isRefreshable: true;
310
+ profileRequest: {
311
+ authIn: "header";
312
+ encoding: "application/json";
313
+ method: "GET";
314
+ url: string;
315
+ };
316
+ scopeRequired: false;
317
+ subject: string[];
318
+ subjectType: "string";
319
+ tokenRequest: {
320
+ authIn: "body";
321
+ encoding: "application/x-www-form-urlencoded";
322
+ url: string;
323
+ };
324
+ } & import("citra").ProviderConfig) | ({
325
+ authorizationUrl: string;
326
+ isOIDC: false;
327
+ isRefreshable: true;
328
+ profileRequest: {
329
+ authIn: "header";
330
+ encoding: "application/json";
331
+ method: "GET";
332
+ url: string;
333
+ };
334
+ scopeRequired: true;
335
+ subject: string[];
336
+ subjectType: "string";
337
+ tokenRequest: {
338
+ authIn: "body";
339
+ encoding: "application/x-www-form-urlencoded";
340
+ url: string;
341
+ };
342
+ } & import("citra").ProviderConfig) | ({
343
+ authorizationUrl: string;
344
+ isOIDC: false;
345
+ isRefreshable: true;
346
+ profileRequest: {
347
+ authIn: "header";
348
+ encoding: "application/json";
349
+ method: "GET";
350
+ url: string;
351
+ };
352
+ scopeRequired: false;
353
+ subject: string[];
354
+ subjectType: "number";
355
+ tokenRequest: {
356
+ authIn: "body";
357
+ encoding: "application/x-www-form-urlencoded";
358
+ url: string;
359
+ };
360
+ } & import("citra").ProviderConfig) | ({
361
+ authorizationUrl: string;
362
+ email: string[];
363
+ isOIDC: true;
364
+ isRefreshable: true;
365
+ picture: string[];
366
+ PKCEMethod: "S256";
367
+ profileRequest: {
368
+ authIn: "header";
369
+ encoding: "application/json";
370
+ method: "GET";
371
+ url: string;
372
+ };
373
+ scopeRequired: true;
374
+ subject: string[];
375
+ subjectType: "string";
376
+ tokenRequest: {
377
+ authIn: "body";
378
+ encoding: "application/x-www-form-urlencoded";
379
+ url: string;
380
+ };
381
+ } & import("citra").ProviderConfig) | ({
382
+ authorizationUrl: string;
383
+ email: string[];
384
+ isOIDC: false;
385
+ isRefreshable: true;
386
+ picture: string[];
387
+ profileRequest: {
388
+ authIn: "header";
389
+ encoding: "application/json";
390
+ method: "GET";
391
+ url: string;
392
+ };
393
+ scopeRequired: false;
394
+ subject: string[];
395
+ subjectType: "number";
396
+ tokenRequest: {
397
+ authIn: "body";
398
+ encoding: "application/x-www-form-urlencoded";
399
+ url: string;
400
+ };
401
+ } & import("citra").ProviderConfig) | ({
402
+ authorizationUrl: string;
403
+ isOIDC: false;
404
+ isRefreshable: false;
405
+ profileRequest: {
406
+ authIn: "header";
407
+ encoding: "application/json";
408
+ method: "GET";
409
+ url: string;
410
+ };
411
+ scopeRequired: false;
412
+ subject: string[];
413
+ subjectType: "number";
414
+ tokenRequest: {
415
+ authIn: "body";
416
+ encoding: "application/x-www-form-urlencoded";
417
+ url: string;
418
+ };
419
+ } & import("citra").ProviderConfig) | ({
420
+ authorizationUrl: string;
421
+ email: string[];
422
+ familyName: string[];
423
+ fullName: string[];
424
+ givenName: string[];
425
+ isOIDC: false;
426
+ isRefreshable: true;
427
+ profileRequest: {
428
+ authIn: "header";
429
+ encoding: "application/json";
430
+ method: "POST";
431
+ url: string;
432
+ };
433
+ revocationRequest: {
434
+ authIn: "header";
435
+ encoding: "application/json";
436
+ url: string;
437
+ };
438
+ scopeRequired: false;
439
+ subject: string[];
440
+ subjectType: "string";
441
+ tokenRequest: {
442
+ authIn: "body";
443
+ encoding: "application/x-www-form-urlencoded";
444
+ url: string;
445
+ };
446
+ } & import("citra").ProviderConfig) | ({
447
+ authorizationUrl: string;
448
+ isOIDC: false;
449
+ isRefreshable: true;
450
+ profileRequest: {
451
+ authIn: "header";
452
+ encoding: "application/json";
453
+ method: "GET";
454
+ url: string;
455
+ };
456
+ scopeRequired: false;
457
+ subject: string[];
458
+ subjectType: "number";
459
+ tokenRequest: {
460
+ authIn: "body";
461
+ encoding: "application/x-www-form-urlencoded";
462
+ url: string;
463
+ };
464
+ } & import("citra").ProviderConfig) | ({
465
+ authorizationUrl: string;
466
+ isOIDC: false;
467
+ isRefreshable: true;
468
+ profileRequest: {
469
+ authIn: "header";
470
+ encoding: "application/json";
471
+ method: "GET";
472
+ url: string;
473
+ };
474
+ scopeRequired: false;
475
+ subject: string[];
476
+ subjectType: "number";
477
+ tokenRequest: {
478
+ authIn: "body";
479
+ encoding: "application/x-www-form-urlencoded";
480
+ url: string;
481
+ };
482
+ } & import("citra").ProviderConfig) | ({
483
+ authorizationUrl: string;
484
+ email: string[];
485
+ familyName: string[];
486
+ fullName: string[];
487
+ givenName: string[];
488
+ isOIDC: true;
489
+ isRefreshable: false;
490
+ picture: string[];
491
+ PKCEMethod: "S256";
492
+ profileRequest: {
493
+ authIn: "query";
494
+ encoding: "application/json";
495
+ method: "GET";
496
+ searchParams: [string, string][];
497
+ url: string;
498
+ };
499
+ scopeRequired: false;
500
+ subject: string[];
501
+ subjectBySource: {
502
+ idToken: string[];
503
+ profile: string[];
504
+ };
505
+ subjectType: "string";
506
+ tokenRequest: {
507
+ authIn: "body";
508
+ encoding: "application/x-www-form-urlencoded";
509
+ url: string;
510
+ };
511
+ } & import("citra").ProviderConfig) | ({
512
+ authorizationUrl: string;
513
+ email: string[];
514
+ isOIDC: false;
515
+ isRefreshable: true;
516
+ picture: string[];
517
+ PKCEMethod: "S256";
518
+ profileRequest: {
519
+ authIn: "header";
520
+ encoding: "application/json";
521
+ method: "GET";
522
+ url: string;
523
+ };
524
+ scopeRequired: true;
525
+ subject: string[];
526
+ subjectType: "string";
527
+ tokenRequest: {
528
+ authIn: "body";
529
+ encoding: "application/x-www-form-urlencoded";
530
+ url: string;
531
+ };
532
+ } & import("citra").ProviderConfig) | ({
533
+ authorizationUrl: (config: any) => string;
534
+ isOIDC: true;
535
+ isRefreshable: true;
536
+ PKCEMethod: "S256";
537
+ profileRequest: {
538
+ authIn: "header";
539
+ encoding: "application/json";
540
+ method: "GET";
541
+ url: (config: any) => string;
542
+ };
543
+ scopeRequired: false;
544
+ subject: string[];
545
+ subjectType: "string";
546
+ tokenRequest: {
547
+ authIn: "body";
548
+ encoding: "application/x-www-form-urlencoded";
549
+ url: (config: any) => string;
550
+ };
551
+ } & import("citra").ProviderConfig) | ({
552
+ authorizationUrl: string;
553
+ email: string[];
554
+ isOIDC: false;
555
+ isRefreshable: false;
556
+ picture: string[];
557
+ profileRequest: {
558
+ authIn: "header";
559
+ encoding: "application/json";
560
+ method: "GET";
561
+ url: string;
562
+ };
563
+ scopeRequired: false;
564
+ subject: string[];
565
+ subjectType: "number";
566
+ tokenRequest: {
567
+ authIn: "body";
568
+ encoding: "application/x-www-form-urlencoded";
569
+ url: string;
570
+ };
571
+ } & import("citra").ProviderConfig) | ({
572
+ authorizationUrl: (config: any) => string;
573
+ email: string[];
574
+ fullName: string[];
575
+ isOIDC: true;
576
+ isRefreshable: true;
577
+ picture: string[];
578
+ PKCEMethod: "S256";
579
+ profileRequest: {
580
+ authIn: "header";
581
+ encoding: "application/json";
582
+ method: "GET";
583
+ url: string;
584
+ };
585
+ revocationRequest: {
586
+ authIn: "body";
587
+ encoding: "application/json";
588
+ tokenParamName: "token";
589
+ url: (config: any) => string;
590
+ };
591
+ scopeRequired: false;
592
+ subject: string[];
593
+ subjectType: "string";
594
+ tokenRequest: {
595
+ authIn: "body";
596
+ encoding: "application/x-www-form-urlencoded";
597
+ url: (config: any) => string;
598
+ };
599
+ } & import("citra").ProviderConfig) | ({
600
+ authorizationUrl: string;
601
+ isOIDC: false;
602
+ isRefreshable: true;
603
+ profileRequest: {
604
+ authIn: "header";
605
+ encoding: "application/json";
606
+ headers: {
607
+ Version: string;
608
+ };
609
+ method: "GET";
610
+ url: string;
611
+ };
612
+ scopeRequired: true;
613
+ subject: string[];
614
+ subjectBySource: {
615
+ tokenResponse: string[];
616
+ };
617
+ subjectType: "string";
618
+ tokenRequest: {
619
+ authIn: "body";
620
+ encoding: "application/x-www-form-urlencoded";
621
+ url: string;
622
+ };
623
+ } & import("citra").ProviderConfig) | ({
624
+ authorizationUrl: string;
625
+ email: string[];
626
+ familyName: string[];
627
+ fullName: string[];
628
+ givenName: string[];
629
+ isOIDC: true;
630
+ isRefreshable: true;
631
+ picture: string[];
632
+ PKCEMethod: "S256";
633
+ profileRequest: {
634
+ authIn: "header";
635
+ encoding: "application/json";
636
+ method: "GET";
637
+ url: string;
638
+ };
639
+ revocationRequest: {
640
+ authIn: "body";
641
+ encoding: "application/json";
642
+ tokenParamName: "token";
643
+ url: string;
644
+ };
645
+ scopeRequired: true;
646
+ subject: string[];
647
+ subjectBySource: {
648
+ idToken: string[];
649
+ profile: string[];
650
+ };
651
+ subjectType: "string";
652
+ tokenRequest: {
653
+ authIn: "body";
654
+ encoding: "application/x-www-form-urlencoded";
655
+ url: string;
656
+ };
657
+ } & import("citra").ProviderConfig) | ({
658
+ authorizationUrl: string;
659
+ isOIDC: false;
660
+ isRefreshable: true;
661
+ profileRequest: {
662
+ authIn: "path";
663
+ encoding: "application/json";
664
+ method: "GET";
665
+ url: string;
666
+ };
667
+ scopeRequired: true;
668
+ subject: string[];
669
+ subjectType: "number";
670
+ tokenRequest: {
671
+ authIn: "body";
672
+ encoding: "application/x-www-form-urlencoded";
673
+ url: string;
674
+ };
675
+ } & import("citra").ProviderConfig) | ({
676
+ authorizationUrl: string;
677
+ isOIDC: true;
678
+ isRefreshable: true;
679
+ profileRequest: {
680
+ authIn: "header";
681
+ encoding: "application/json";
682
+ method: "GET";
683
+ url: (config: any) => "https://accounts.platform.intuit.com/v1/openid_connect/userinfo" | "https://sandbox-accounts.platform.intuit.com/v1/openid_connect/userinfo";
684
+ };
685
+ revocationRequest: {
686
+ authIn: "body";
687
+ encoding: "application/json";
688
+ headers: (config: any) => {
689
+ Authorization: string;
690
+ };
691
+ tokenParamName: "token";
692
+ url: string;
693
+ };
694
+ scopeRequired: true;
695
+ subject: string[];
696
+ subjectType: "string";
697
+ tokenRequest: {
698
+ authIn: "body";
699
+ encoding: "application/x-www-form-urlencoded";
700
+ url: string;
701
+ };
702
+ } & import("citra").ProviderConfig) | ({
703
+ authorizationUrl: string;
704
+ isOIDC: true;
705
+ isRefreshable: true;
706
+ picture: string[];
707
+ PKCEMethod: "S256";
708
+ profileRequest: {
709
+ authIn: "header";
710
+ encoding: "application/json";
711
+ method: "GET";
712
+ url: string;
713
+ };
714
+ scopeRequired: false;
715
+ subject: string[];
716
+ subjectType: "string";
717
+ tokenRequest: {
718
+ authIn: "body";
719
+ encoding: "application/x-www-form-urlencoded";
720
+ url: string;
721
+ };
722
+ } & import("citra").ProviderConfig) | ({
723
+ authorizationUrl: (config: any) => string;
724
+ isOIDC: true;
725
+ isRefreshable: true;
726
+ PKCEMethod: "S256";
727
+ profileRequest: {
728
+ authIn: "header";
729
+ encoding: "application/json";
730
+ method: "GET";
731
+ url: string;
732
+ };
733
+ revocationRequest: {
734
+ authIn: "body";
735
+ encoding: "application/json";
736
+ tokenParamName: "token";
737
+ url: (config: any) => string;
738
+ };
739
+ scopeRequired: false;
740
+ subject: string[];
741
+ subjectType: "string";
742
+ tokenRequest: {
743
+ authIn: "body";
744
+ encoding: "application/x-www-form-urlencoded";
745
+ url: (config: any) => string;
746
+ };
747
+ } & import("citra").ProviderConfig) | ({
748
+ authorizationUrl: string;
749
+ email: string[];
750
+ isOIDC: false;
751
+ isRefreshable: true;
752
+ picture: string[];
753
+ PKCEMethod: "S256";
754
+ profileRequest: {
755
+ authIn: "header";
756
+ encoding: "application/json";
757
+ method: "GET";
758
+ url: string;
759
+ };
760
+ revocationRequest: {
761
+ authIn: "body";
762
+ encoding: "application/json";
763
+ tokenParamName: "token";
764
+ url: string;
765
+ };
766
+ scopeRequired: true;
767
+ subject: string[];
768
+ subjectType: "number";
769
+ tokenRequest: {
770
+ authIn: "body";
771
+ encoding: "application/x-www-form-urlencoded";
772
+ url: string;
773
+ };
774
+ } & import("citra").ProviderConfig) | ({
775
+ authorizationUrl: string;
776
+ isOIDC: false;
777
+ isRefreshable: false;
778
+ PKCEMethod: "S256";
779
+ profileRequest: {
780
+ authIn: "header";
781
+ encoding: "application/json";
782
+ method: "GET";
783
+ url: string;
784
+ };
785
+ scopeRequired: false;
786
+ subject: string[];
787
+ subjectType: "string";
788
+ tokenRequest: {
789
+ authIn: "body";
790
+ encoding: "application/x-www-form-urlencoded";
791
+ url: string;
792
+ };
793
+ } & import("citra").ProviderConfig) | ({
794
+ authorizationUrl: string;
795
+ isOIDC: true;
796
+ isRefreshable: true;
797
+ PKCEMethod: "S256";
798
+ profileRequest: {
799
+ authIn: "header";
800
+ encoding: "application/json";
801
+ method: "GET";
802
+ url: string;
803
+ };
804
+ scopeRequired: true;
805
+ subject: string[];
806
+ subjectType: "string";
807
+ tokenRequest: {
808
+ authIn: "body";
809
+ encoding: "application/x-www-form-urlencoded";
810
+ url: string;
811
+ };
812
+ } & import("citra").ProviderConfig) | ({
813
+ authorizationUrl: string;
814
+ isOIDC: false;
815
+ isRefreshable: false;
816
+ profileRequest: {
817
+ authIn: "header";
818
+ body: {
819
+ query: string;
820
+ };
821
+ encoding: "application/json";
822
+ headers: {
823
+ Accept: string;
824
+ "Content-Type": string;
825
+ };
826
+ method: "POST";
827
+ url: string;
828
+ };
829
+ revocationRequest: {
830
+ authIn: "header";
831
+ encoding: "application/json";
832
+ url: string;
833
+ };
834
+ scopeRequired: false;
835
+ subject: string[];
836
+ subjectType: "string";
837
+ tokenRequest: {
838
+ authIn: "body";
839
+ encoding: "application/x-www-form-urlencoded";
840
+ url: string;
841
+ };
842
+ } & import("citra").ProviderConfig) | ({
843
+ authorizationUrl: string;
844
+ isOIDC: true;
845
+ isRefreshable: true;
846
+ PKCEMethod: "S256";
847
+ profileRequest: {
848
+ authIn: "header";
849
+ encoding: "application/json";
850
+ method: "GET";
851
+ url: string;
852
+ };
853
+ scopeRequired: true;
854
+ subject: string[];
855
+ subjectType: "string";
856
+ tokenRequest: {
857
+ authIn: "body";
858
+ encoding: "application/x-www-form-urlencoded";
859
+ url: string;
860
+ };
861
+ } & import("citra").ProviderConfig) | ({
862
+ authorizationUrl: (config: any) => string;
863
+ isOIDC: false;
864
+ isRefreshable: false;
865
+ picture: string[];
866
+ PKCEMethod: "S256";
867
+ profileRequest: {
868
+ authIn: "header";
869
+ encoding: "application/json";
870
+ method: "GET";
871
+ url: (config: any) => string;
872
+ };
873
+ revocationRequest: {
874
+ authIn: "body";
875
+ encoding: "application/json";
876
+ tokenParamName: "token";
877
+ url: (config: any) => string;
878
+ };
879
+ scopeRequired: false;
880
+ subject: string[];
881
+ subjectType: "string";
882
+ tokenRequest: {
883
+ authIn: "body";
884
+ encoding: "application/x-www-form-urlencoded";
885
+ url: (config: any) => string;
886
+ };
887
+ } & import("citra").ProviderConfig) | ({
888
+ authorizationUrl: string;
889
+ isOIDC: false;
890
+ isRefreshable: true;
891
+ PKCEMethod: "S256";
892
+ profileRequest: {
893
+ authIn: "header";
894
+ encoding: "application/json";
895
+ method: "GET";
896
+ url: string;
897
+ };
898
+ scopeRequired: false;
899
+ subject: string[];
900
+ subjectType: "number";
901
+ tokenRequest: {
902
+ authIn: "body";
903
+ encoding: "application/x-www-form-urlencoded";
904
+ url: string;
905
+ };
906
+ } & import("citra").ProviderConfig) | ({
907
+ authorizationUrl: string;
908
+ isOIDC: false;
909
+ isRefreshable: true;
910
+ profileRequest: {
911
+ authIn: "header";
912
+ encoding: "application/json";
913
+ method: "GET";
914
+ url: string;
915
+ };
916
+ scopeRequired: false;
917
+ subject: string[];
918
+ subjectType: "number";
919
+ tokenRequest: {
920
+ authIn: "body";
921
+ encoding: "application/x-www-form-urlencoded";
922
+ url: string;
923
+ };
924
+ } & import("citra").ProviderConfig) | ({
925
+ authorizationUrl: (config: any) => string;
926
+ isOIDC: true;
927
+ isRefreshable: true;
928
+ PKCEMethod: "S256";
929
+ profileRequest: {
930
+ authIn: "header";
931
+ encoding: "application/json";
932
+ method: "GET";
933
+ url: (config: any) => string;
934
+ };
935
+ scopeRequired: false;
936
+ subject: string[];
937
+ subjectType: "string";
938
+ tokenRequest: {
939
+ authIn: "body";
940
+ encoding: "application/x-www-form-urlencoded";
941
+ url: (config: any) => string;
942
+ };
943
+ } & import("citra").ProviderConfig) | ({
944
+ authorizationUrl: string;
945
+ isOIDC: false;
946
+ isRefreshable: true;
947
+ profileRequest: {
948
+ authIn: "header";
949
+ body: {
950
+ query: string;
951
+ };
952
+ encoding: "application/json";
953
+ headers: {
954
+ "Content-Type": string;
955
+ };
956
+ method: "POST";
957
+ url: string;
958
+ };
959
+ scopeRequired: true;
960
+ subject: string[];
961
+ subjectType: "number";
962
+ tokenRequest: {
963
+ authIn: "body";
964
+ encoding: "application/x-www-form-urlencoded";
965
+ url: string;
966
+ };
967
+ } & import("citra").ProviderConfig) | ({
968
+ authorizationUrl: string;
969
+ isOIDC: false;
970
+ isRefreshable: true;
971
+ PKCEMethod: "plain";
972
+ profileRequest: {
973
+ authIn: "header";
974
+ encoding: "application/json";
975
+ method: "GET";
976
+ url: string;
977
+ };
978
+ scopeRequired: false;
979
+ subject: string[];
980
+ subjectType: "number";
981
+ tokenRequest: {
982
+ authIn: "body";
983
+ encoding: "application/x-www-form-urlencoded";
984
+ url: string;
985
+ };
986
+ } & import("citra").ProviderConfig) | ({
987
+ authorizationUrl: string;
988
+ email: string[];
989
+ fullName: string[];
990
+ isOIDC: false;
991
+ isRefreshable: true;
992
+ picture: string[];
993
+ profileRequest: {
994
+ authIn: "header";
995
+ encoding: "application/json";
996
+ method: "GET";
997
+ url: string;
998
+ };
999
+ scopeRequired: false;
1000
+ subject: string[];
1001
+ subjectType: "string";
1002
+ tokenRequest: {
1003
+ authIn: "body";
1004
+ encoding: "application/x-www-form-urlencoded";
1005
+ url: string;
1006
+ };
1007
+ } & import("citra").ProviderConfig) | ({
1008
+ authorizationUrl: string;
1009
+ email: string[];
1010
+ isOIDC: false;
1011
+ isRefreshable: false;
1012
+ picture: string[];
1013
+ profileRequest: {
1014
+ authIn: "header";
1015
+ encoding: "application/json";
1016
+ headers: {
1017
+ "Notion-Version": string;
1018
+ };
1019
+ method: "GET";
1020
+ url: string;
1021
+ };
1022
+ scopeRequired: false;
1023
+ subject: string[];
1024
+ subjectType: "string";
1025
+ tokenRequest: {
1026
+ authIn: "header";
1027
+ encoding: "application/json";
1028
+ url: string;
1029
+ };
1030
+ } & import("citra").ProviderConfig) | ({
1031
+ authorizationUrl: (config: any) => string;
1032
+ isOIDC: true;
1033
+ isRefreshable: true;
1034
+ PKCEMethod: "S256";
1035
+ profileRequest: {
1036
+ authIn: "header";
1037
+ encoding: "application/json";
1038
+ method: "GET";
1039
+ url: (config: any) => string;
1040
+ };
1041
+ revocationRequest: {
1042
+ authIn: "body";
1043
+ encoding: "application/json";
1044
+ tokenParamName: "token";
1045
+ url: (config: any) => string;
1046
+ };
1047
+ scopeRequired: true;
1048
+ subject: string[];
1049
+ subjectType: "string";
1050
+ tokenRequest: {
1051
+ authIn: "body";
1052
+ encoding: "application/x-www-form-urlencoded";
1053
+ url: (config: any) => string;
1054
+ };
1055
+ } & import("citra").ProviderConfig) | ({
1056
+ authorizationUrl: string;
1057
+ email: string[];
1058
+ familyName: string[];
1059
+ fullName: string[];
1060
+ givenName: string[];
1061
+ isOIDC: true;
1062
+ isRefreshable: true;
1063
+ picture: string[];
1064
+ PKCEMethod: "S256";
1065
+ profileRequest: {
1066
+ authIn: "header";
1067
+ encoding: "application/json";
1068
+ method: "GET";
1069
+ url: string;
1070
+ };
1071
+ revocationRequest: {
1072
+ authIn: "body";
1073
+ encoding: "application/x-www-form-urlencoded";
1074
+ tokenParamName: "token";
1075
+ url: string;
1076
+ };
1077
+ scopeRequired: true;
1078
+ subject: string[];
1079
+ subjectType: "string";
1080
+ tokenRequest: {
1081
+ authIn: "body";
1082
+ encoding: "application/x-www-form-urlencoded";
1083
+ url: string;
1084
+ };
1085
+ } & import("citra").ProviderConfig) | ({
1086
+ authorizationUrl: string;
1087
+ isOIDC: false;
1088
+ isRefreshable: true;
1089
+ picture: string[];
1090
+ profileRequest: {
1091
+ authIn: "header";
1092
+ encoding: "application/json";
1093
+ method: "GET";
1094
+ url: string;
1095
+ };
1096
+ scopeRequired: false;
1097
+ subject: string[];
1098
+ subjectType: "number";
1099
+ tokenRequest: {
1100
+ authIn: "body";
1101
+ encoding: "application/x-www-form-urlencoded";
1102
+ url: string;
1103
+ };
1104
+ } & import("citra").ProviderConfig) | ({
1105
+ authorizationUrl: string;
1106
+ isOIDC: false;
1107
+ isRefreshable: true;
1108
+ profileRequest: {
1109
+ authIn: "header";
1110
+ encoding: "application/json";
1111
+ method: "GET";
1112
+ url: string;
1113
+ };
1114
+ scopeRequired: false;
1115
+ subject: string[];
1116
+ subjectType: "string";
1117
+ tokenRequest: {
1118
+ authIn: "body";
1119
+ encoding: "application/x-www-form-urlencoded";
1120
+ url: string;
1121
+ };
1122
+ } & import("citra").ProviderConfig) | ({
1123
+ authorizationUrl: string;
1124
+ isOIDC: false;
1125
+ isRefreshable: true;
1126
+ profileRequest: {
1127
+ authIn: "header";
1128
+ encoding: "application/json";
1129
+ method: "GET";
1130
+ url: string;
1131
+ };
1132
+ scopeRequired: true;
1133
+ subject: string[];
1134
+ subjectType: "number";
1135
+ tokenRequest: {
1136
+ authIn: "body";
1137
+ encoding: "application/x-www-form-urlencoded";
1138
+ url: string;
1139
+ };
1140
+ } & import("citra").ProviderConfig) | ({
1141
+ authorizationUrl: string;
1142
+ isOIDC: true;
1143
+ isRefreshable: true;
1144
+ PKCEMethod: "S256";
1145
+ profileRequest: {
1146
+ authIn: "header";
1147
+ encoding: "application/json";
1148
+ method: "GET";
1149
+ url: string;
1150
+ };
1151
+ revocationRequest: {
1152
+ authIn: "body";
1153
+ encoding: "application/json";
1154
+ tokenParamName: "token";
1155
+ url: string;
1156
+ };
1157
+ scopeRequired: true;
1158
+ subject: string[];
1159
+ subjectType: "string";
1160
+ tokenRequest: {
1161
+ authIn: "body";
1162
+ encoding: "application/x-www-form-urlencoded";
1163
+ url: string;
1164
+ };
1165
+ } & import("citra").ProviderConfig) | ({
1166
+ authorizationUrl: string;
1167
+ isOIDC: false;
1168
+ isRefreshable: false;
1169
+ PKCEMethod: "S256";
1170
+ profileRequest: {
1171
+ authIn: "header";
1172
+ encoding: "application/json";
1173
+ method: "GET";
1174
+ url: string;
1175
+ };
1176
+ scopeRequired: false;
1177
+ subject: string[];
1178
+ subjectType: "number";
1179
+ tokenRequest: {
1180
+ authIn: "header";
1181
+ encoding: "application/x-www-form-urlencoded";
1182
+ url: string;
1183
+ };
1184
+ } & import("citra").ProviderConfig) | ({
1185
+ authorizationUrl: string;
1186
+ isOIDC: false;
1187
+ isRefreshable: true;
1188
+ PKCEMethod: "S256";
1189
+ profileRequest: {
1190
+ authIn: "header";
1191
+ encoding: "application/json";
1192
+ method: "GET";
1193
+ url: string;
1194
+ };
1195
+ scopeRequired: false;
1196
+ subject: string[];
1197
+ subjectType: "number";
1198
+ tokenRequest: {
1199
+ authIn: "header";
1200
+ encoding: "application/x-www-form-urlencoded";
1201
+ url: string;
1202
+ };
1203
+ } & import("citra").ProviderConfig) | ({
1204
+ authorizationUrl: string;
1205
+ isOIDC: false;
1206
+ isRefreshable: true;
1207
+ profileRequest: {
1208
+ authIn: "header";
1209
+ encoding: "application/json";
1210
+ method: "GET";
1211
+ url: string;
1212
+ };
1213
+ revocationRequest: {
1214
+ authIn: "header";
1215
+ body: URLSearchParams;
1216
+ encoding: "application/json";
1217
+ url: string;
1218
+ };
1219
+ scopeRequired: true;
1220
+ subject: string[];
1221
+ subjectType: "string";
1222
+ tokenRequest: {
1223
+ authIn: "header";
1224
+ encoding: "application/x-www-form-urlencoded";
1225
+ url: string;
1226
+ };
1227
+ } & import("citra").ProviderConfig) | ({
1228
+ authorizationUrl: string;
1229
+ isOIDC: true;
1230
+ isRefreshable: true;
1231
+ picture: string[];
1232
+ PKCEMethod: "S256";
1233
+ profileRequest: {
1234
+ authIn: "header";
1235
+ encoding: "application/json";
1236
+ method: "GET";
1237
+ url: string;
1238
+ };
1239
+ scopeRequired: true;
1240
+ subject: string[];
1241
+ subjectType: "string";
1242
+ tokenRequest: {
1243
+ authIn: "body";
1244
+ encoding: "application/x-www-form-urlencoded";
1245
+ url: string;
1246
+ };
1247
+ } & import("citra").ProviderConfig) | ({
1248
+ authorizationUrl: string;
1249
+ isOIDC: true;
1250
+ isRefreshable: true;
1251
+ PKCEMethod: "S256";
1252
+ profileRequest: {
1253
+ authIn: "header";
1254
+ encoding: "application/json";
1255
+ method: "GET";
1256
+ url: string;
1257
+ };
1258
+ revocationRequest: {
1259
+ authIn: "header";
1260
+ encoding: "application/json";
1261
+ url: string;
1262
+ };
1263
+ scopeRequired: false;
1264
+ subject: string[];
1265
+ subjectType: "string";
1266
+ tokenRequest: {
1267
+ authIn: "body";
1268
+ encoding: "application/x-www-form-urlencoded";
1269
+ url: string;
1270
+ };
1271
+ } & import("citra").ProviderConfig) | ({
1272
+ authorizationUrl: string;
1273
+ isOIDC: false;
1274
+ isRefreshable: true;
1275
+ profileRequest: {
1276
+ authIn: "header";
1277
+ encoding: "application/json";
1278
+ method: "GET";
1279
+ url: string;
1280
+ };
1281
+ scopeRequired: false;
1282
+ subject: string[];
1283
+ subjectType: "number";
1284
+ tokenRequest: {
1285
+ authIn: "body";
1286
+ encoding: "application/x-www-form-urlencoded";
1287
+ url: string;
1288
+ };
1289
+ } & import("citra").ProviderConfig) | ({
1290
+ authorizationUrl: string;
1291
+ isOIDC: true;
1292
+ isRefreshable: true;
1293
+ profileRequest: {
1294
+ authIn: "query";
1295
+ encoding: "application/json";
1296
+ method: "GET";
1297
+ url: string;
1298
+ };
1299
+ revocationRequest: {
1300
+ authIn: "body";
1301
+ encoding: "application/json";
1302
+ tokenParamName: "token";
1303
+ url: string;
1304
+ };
1305
+ scopeRequired: true;
1306
+ subject: string[];
1307
+ subjectType: "string";
1308
+ tokenRequest: {
1309
+ authIn: "body";
1310
+ encoding: "application/x-www-form-urlencoded";
1311
+ url: string;
1312
+ };
1313
+ } & import("citra").ProviderConfig) | ({
1314
+ accessTokenPath: string[];
1315
+ authorizationUrl: string;
1316
+ isOIDC: false;
1317
+ isRefreshable: false;
1318
+ profileRequest: {
1319
+ authIn: "header";
1320
+ encoding: "application/json";
1321
+ method: "POST";
1322
+ url: string;
1323
+ };
1324
+ revocationRequest: {
1325
+ authIn: "body";
1326
+ encoding: "application/json";
1327
+ tokenParamName: "token";
1328
+ url: string;
1329
+ };
1330
+ scopeParamName: string;
1331
+ scopeRequired: true;
1332
+ subject: string[];
1333
+ subjectType: "string";
1334
+ tokenRequest: {
1335
+ authIn: "body";
1336
+ encoding: "application/x-www-form-urlencoded";
1337
+ url: string;
1338
+ };
1339
+ } & import("citra").ProviderConfig) | ({
1340
+ authorizationUrl: string;
1341
+ isOIDC: false;
1342
+ isRefreshable: true;
1343
+ PKCEMethod: "S256";
1344
+ profileRequest: {
1345
+ authIn: "header";
1346
+ encoding: "application/json";
1347
+ method: "GET";
1348
+ url: string;
1349
+ };
1350
+ scopeRequired: false;
1351
+ subject: string[];
1352
+ subjectType: "string";
1353
+ tokenRequest: {
1354
+ authIn: "body";
1355
+ encoding: "application/x-www-form-urlencoded";
1356
+ url: string;
1357
+ };
1358
+ } & import("citra").ProviderConfig) | ({
1359
+ authorizationUrl: string;
1360
+ email: string[];
1361
+ isOIDC: false;
1362
+ isRefreshable: true;
1363
+ profileRequest: {
1364
+ authIn: "header";
1365
+ body: {
1366
+ query: string;
1367
+ };
1368
+ encoding: "application/json";
1369
+ headers: {
1370
+ Accept: string;
1371
+ "Content-Type": string;
1372
+ };
1373
+ method: "POST";
1374
+ url: string;
1375
+ };
1376
+ scopeRequired: false;
1377
+ subject: string[];
1378
+ subjectType: "number";
1379
+ tokenRequest: {
1380
+ authIn: "body";
1381
+ encoding: "application/x-www-form-urlencoded";
1382
+ url: string;
1383
+ };
1384
+ } & import("citra").ProviderConfig) | ({
1385
+ authorizationUrl: string;
1386
+ familyName: string[];
1387
+ givenName: string[];
1388
+ isOIDC: false;
1389
+ isRefreshable: true;
1390
+ picture: string[];
1391
+ PKCEMethod: "S256";
1392
+ profileRequest: {
1393
+ authIn: "header";
1394
+ encoding: "application/json";
1395
+ method: "GET";
1396
+ url: string;
1397
+ };
1398
+ revocationRequest: {
1399
+ authIn: "query";
1400
+ body: URLSearchParams;
1401
+ encoding: "application/json";
1402
+ tokenParamName: "access_token";
1403
+ url: string;
1404
+ };
1405
+ scopeRequired: false;
1406
+ subject: string[];
1407
+ subjectType: "number";
1408
+ tokenRequest: {
1409
+ authIn: "body";
1410
+ encoding: "application/x-www-form-urlencoded";
1411
+ url: string;
1412
+ };
1413
+ } & import("citra").ProviderConfig) | ({
1414
+ authorizationUrl: (config: any) => string;
1415
+ isOIDC: false;
1416
+ isRefreshable: false;
1417
+ profileRequest: {
1418
+ authIn: "header";
1419
+ encoding: "application/json";
1420
+ method: "GET";
1421
+ url: (config: any) => string;
1422
+ };
1423
+ scopeRequired: false;
1424
+ subject: string[];
1425
+ subjectType: "number";
1426
+ tokenRequest: {
1427
+ authIn: "body";
1428
+ encoding: "application/x-www-form-urlencoded";
1429
+ url: (config: any) => string;
1430
+ };
1431
+ } & import("citra").ProviderConfig) | ({
1432
+ authorizationUrl: string;
1433
+ createAuthorizationURLSearchParams: (config: any) => {
1434
+ client_key: any;
1435
+ };
1436
+ isOIDC: false;
1437
+ isRefreshable: true;
1438
+ PKCEMethod: "S256";
1439
+ profileRequest: {
1440
+ authIn: "query";
1441
+ encoding: "application/json";
1442
+ method: "GET";
1443
+ url: string;
1444
+ };
1445
+ revocationRequest: {
1446
+ authIn: "body";
1447
+ encoding: "application/json";
1448
+ tokenParamName: "token";
1449
+ url: string;
1450
+ };
1451
+ scopeRequired: false;
1452
+ subject: string[];
1453
+ subjectType: "string";
1454
+ tokenRequest: {
1455
+ authIn: "body";
1456
+ encoding: "application/x-www-form-urlencoded";
1457
+ url: string;
1458
+ };
1459
+ } & import("citra").ProviderConfig) | ({
1460
+ authorizationUrl: string;
1461
+ isOIDC: false;
1462
+ isRefreshable: true;
1463
+ profileRequest: {
1464
+ authIn: "header";
1465
+ encoding: "application/json";
1466
+ method: "GET";
1467
+ url: string;
1468
+ };
1469
+ scopeRequired: false;
1470
+ subject: string[];
1471
+ subjectType: "string";
1472
+ tokenRequest: {
1473
+ authIn: "body";
1474
+ encoding: "application/x-www-form-urlencoded";
1475
+ url: string;
1476
+ };
1477
+ } & import("citra").ProviderConfig) | ({
1478
+ authorizationUrl: string;
1479
+ isOIDC: false;
1480
+ isRefreshable: true;
1481
+ profileRequest: {
1482
+ authIn: "header";
1483
+ encoding: "application/json";
1484
+ method: "GET";
1485
+ url: string;
1486
+ };
1487
+ scopeRequired: false;
1488
+ subject: string[];
1489
+ subjectType: "string";
1490
+ tokenRequest: {
1491
+ authIn: "body";
1492
+ encoding: "application/x-www-form-urlencoded";
1493
+ url: string;
1494
+ };
1495
+ } & import("citra").ProviderConfig) | ({
1496
+ authorizationUrl: string;
1497
+ isOIDC: true;
1498
+ isRefreshable: true;
1499
+ profileRequest: {
1500
+ authIn: "header";
1501
+ encoding: "application/json";
1502
+ headers: (config: any) => {
1503
+ "Client-Id": any;
1504
+ };
1505
+ method: "GET";
1506
+ url: string;
1507
+ };
1508
+ revocationRequest: {
1509
+ authIn: "query";
1510
+ encoding: "application/json";
1511
+ headers: (config: any) => {
1512
+ "Client-Id": any;
1513
+ };
1514
+ tokenParamName: "token";
1515
+ url: string;
1516
+ };
1517
+ scopeRequired: false;
1518
+ subject: string[];
1519
+ subjectType: "string";
1520
+ tokenRequest: {
1521
+ authIn: "body";
1522
+ encoding: "application/x-www-form-urlencoded";
1523
+ url: string;
1524
+ };
1525
+ } & import("citra").ProviderConfig) | ({
1526
+ authorizationUrl: string;
1527
+ isOIDC: false;
1528
+ isRefreshable: true;
1529
+ PKCEMethod: "S256";
1530
+ profileRequest: {
1531
+ authIn: "header";
1532
+ encoding: "application/json";
1533
+ method: "GET";
1534
+ url: string;
1535
+ };
1536
+ revocationRequest: {
1537
+ authIn: "header";
1538
+ encoding: "application/json";
1539
+ url: string;
1540
+ };
1541
+ scopeRequired: false;
1542
+ subject: string[];
1543
+ subjectType: "number";
1544
+ tokenRequest: {
1545
+ authIn: "body";
1546
+ encoding: "application/x-www-form-urlencoded";
1547
+ url: string;
1548
+ };
1549
+ } & import("citra").ProviderConfig) | ({
1550
+ authorizationUrl: string;
1551
+ isOIDC: false;
1552
+ isRefreshable: false;
1553
+ profileRequest: {
1554
+ authIn: "query";
1555
+ encoding: "application/json";
1556
+ method: "GET";
1557
+ url: string;
1558
+ };
1559
+ scopeRequired: false;
1560
+ subject: string[];
1561
+ subjectType: "number";
1562
+ tokenRequest: {
1563
+ authIn: "body";
1564
+ encoding: "application/x-www-form-urlencoded";
1565
+ url: string;
1566
+ };
1567
+ } & import("citra").ProviderConfig) | ({
1568
+ authorizationUrl: string;
1569
+ isOIDC: false;
1570
+ isRefreshable: true;
1571
+ profileRequest: {
1572
+ authIn: "header";
1573
+ body: (config: any) => Promise<[string, any][]>;
1574
+ encoding: "application/x-www-form-urlencoded";
1575
+ method: "POST";
1576
+ url: string;
1577
+ };
1578
+ refreshAccessTokenBody: {
1579
+ action: string;
1580
+ };
1581
+ revocationRequest: {
1582
+ authIn: "header";
1583
+ body: (config: any) => Promise<[string, any][]>;
1584
+ encoding: "application/x-www-form-urlencoded";
1585
+ method: string;
1586
+ url: string;
1587
+ };
1588
+ scopeDelimiter: string;
1589
+ scopeRequired: true;
1590
+ subject: string[];
1591
+ subjectType: "string";
1592
+ tokenRequest: {
1593
+ authIn: "body";
1594
+ encoding: "application/x-www-form-urlencoded";
1595
+ url: string;
1596
+ };
1597
+ validateAuthorizationCodeBody: {
1598
+ action: string;
1599
+ };
1600
+ } & import("citra").ProviderConfig) | ({
1601
+ authorizationUrl: (config: any) => string;
1602
+ createAuthorizationURLSearchParams: () => {
1603
+ nonce: `${string}-${string}-${string}-${string}-${string}`;
1604
+ };
1605
+ email: string[];
1606
+ familyName: string[];
1607
+ fullName: string[];
1608
+ givenName: string[];
1609
+ isOIDC: true;
1610
+ isRefreshable: true;
1611
+ PKCEMethod: "S256";
1612
+ profileRequest: {
1613
+ authIn: "header";
1614
+ encoding: "application/json";
1615
+ method: "POST";
1616
+ url: (config: any) => string;
1617
+ };
1618
+ scopeRequired: false;
1619
+ subject: string[];
1620
+ subjectType: "string";
1621
+ tokenRequest: {
1622
+ authIn: "body";
1623
+ encoding: "application/x-www-form-urlencoded";
1624
+ url: (config: any) => string;
1625
+ };
1626
+ } & import("citra").ProviderConfig) | ({
1627
+ authorizationUrl: string;
1628
+ isOIDC: true;
1629
+ isRefreshable: true;
1630
+ PKCEMethod: "S256";
1631
+ profileRequest: {
1632
+ authIn: "header";
1633
+ encoding: "application/json";
1634
+ method: "GET";
1635
+ url: string;
1636
+ };
1637
+ revocationRequest: {
1638
+ authIn: "header";
1639
+ encoding: "application/json";
1640
+ url: string;
1641
+ };
1642
+ scopeRequired: false;
1643
+ subject: string[];
1644
+ subjectType: "string";
1645
+ tokenRequest: {
1646
+ authIn: "body";
1647
+ encoding: "application/x-www-form-urlencoded";
1648
+ url: string;
1649
+ };
1650
+ } & import("citra").ProviderConfig) | ({
1651
+ authorizationUrl: string;
1652
+ createAuthorizationURLSearchParams: {
1653
+ device_id: `${string}-${string}-${string}-${string}-${string}`;
1654
+ device_name: string;
1655
+ };
1656
+ email: string[];
1657
+ familyName: string[];
1658
+ fullName: string[];
1659
+ givenName: string[];
1660
+ isOIDC: false;
1661
+ isRefreshable: true;
1662
+ PKCEMethod: "S256";
1663
+ profileRequest: {
1664
+ authIn: "header";
1665
+ encoding: "application/json";
1666
+ method: "GET";
1667
+ url: string;
1668
+ };
1669
+ revocationRequest: {
1670
+ authIn: "body";
1671
+ encoding: "application/json";
1672
+ tokenParamName: "access_token";
1673
+ url: string;
1674
+ };
1675
+ scopeRequired: false;
1676
+ subject: string[];
1677
+ subjectType: "string";
1678
+ tokenRequest: {
1679
+ authIn: "body";
1680
+ encoding: "application/x-www-form-urlencoded";
1681
+ url: string;
1682
+ };
1683
+ } & import("citra").ProviderConfig) | ({
1684
+ authorizationUrl: (config: any) => string;
1685
+ isOIDC: false;
1686
+ isRefreshable: true;
1687
+ PKCEMethod: "S256";
1688
+ profileRequest: {
1689
+ authIn: "header";
1690
+ encoding: "application/json";
1691
+ method: "GET";
1692
+ url: (config: any) => string;
1693
+ };
1694
+ revocationRequest: {
1695
+ authIn: "query";
1696
+ encoding: "application/x-www-form-urlencoded";
1697
+ tokenParamName: "token";
1698
+ url: (config: any) => string;
1699
+ };
1700
+ scopeRequired: true;
1701
+ subject: string[];
1702
+ subjectType: "string";
1703
+ tokenRequest: {
1704
+ authIn: "body";
1705
+ encoding: "application/x-www-form-urlencoded";
1706
+ url: (config: any) => string;
1707
+ };
1708
+ } & import("citra").ProviderConfig) | ({
1709
+ authorizationUrl: string;
1710
+ email: string[];
1711
+ familyName: string[];
1712
+ givenName: string[];
1713
+ isOIDC: false;
1714
+ isRefreshable: true;
1715
+ picture: string[];
1716
+ PKCEMethod: "S256";
1717
+ profileRequest: {
1718
+ authIn: "header";
1719
+ encoding: "application/json";
1720
+ method: "GET";
1721
+ url: string;
1722
+ };
1723
+ revocationRequest: {
1724
+ authIn: "query";
1725
+ encoding: "application/json";
1726
+ headers: (config: any) => {
1727
+ Authorization: string;
1728
+ };
1729
+ tokenParamName: "token";
1730
+ url: string;
1731
+ };
1732
+ scopeRequired: false;
1733
+ subject: string[];
1734
+ subjectType: "string";
1735
+ tokenRequest: {
1736
+ authIn: "body";
1737
+ encoding: "application/x-www-form-urlencoded";
1738
+ url: string;
1739
+ };
1740
+ } & import("citra").ProviderConfig);
1741
+ providerInstance: import("citra").BaseOAuth2Client<"42" | "amazoncognito" | "anilist" | "apple" | "atlassian" | "attio" | "auth0" | "authentik" | "autodesk" | "battlenet" | "bitbucket" | "box" | "bungie" | "calendly" | "close" | "coinbase" | "discord" | "donationalerts" | "dribbble" | "dropbox" | "epicgames" | "etsy" | "facebook" | "figma" | "gitea" | "github" | "gitlab" | "gohighlevel" | "google" | "hubspot" | "intuit" | "kakao" | "keycloak" | "kick" | "lichess" | "line" | "linear" | "linkedin" | "mastodon" | "mercadolibre" | "mercadopago" | "microsoftentraid" | "monday" | "myanimelist" | "naver" | "notion" | "okta" | "onspark" | "osu" | "patreon" | "pipedrive" | "polar" | "polaraccesslink" | "polarteampro" | "reddit" | "roblox" | "salesforce" | "shikimori" | "slack" | "slackuser" | "spotify" | "startgg" | "strava" | "synology" | "tiktok" | "tiltify" | "tumblr" | "twitch" | "twitter" | "vk" | "withings" | "workos" | "yahoo" | "yandex" | "zoho" | "zoom">;
1742
+ requiresPKCE: boolean;
9
1743
  scope: string[] | undefined;
10
1744
  searchParams: [string, string][] | undefined;
11
1745
  };
@@ -15,7 +1749,7 @@ export declare const buildClientProviders: (providersConfiguration: OAuth2Config
15
1749
  }>;
16
1750
  export declare const normalizeProvidersConfiguration: (providersConfiguration: OAuth2ConfigurationOptions) => {
17
1751
  [k: string]: {
18
- [k: string]: OAuth2ProviderClientConfiguration<"42" | "amazoncognito" | "anilist" | "apple" | "atlassian" | "attio" | "auth0" | "authentik" | "autodesk" | "battlenet" | "bitbucket" | "box" | "bungie" | "calendly" | "close" | "coinbase" | "discord" | "donationalerts" | "dribbble" | "dropbox" | "epicgames" | "etsy" | "facebook" | "figma" | "gitea" | "github" | "gitlab" | "gohighlevel" | "google" | "hubspot" | "intuit" | "kakao" | "keycloak" | "kick" | "lichess" | "line" | "linear" | "linkedin" | "mastodon" | "mercadolibre" | "mercadopago" | "microsoftentraid" | "monday" | "myanimelist" | "naver" | "notion" | "okta" | "osu" | "patreon" | "pipedrive" | "polar" | "polaraccesslink" | "polarteampro" | "reddit" | "roblox" | "salesforce" | "shikimori" | "slack" | "slackuser" | "spotify" | "startgg" | "strava" | "synology" | "tiktok" | "tiltify" | "tumblr" | "twitch" | "twitter" | "vk" | "withings" | "workos" | "yahoo" | "yandex" | "zoho" | "zoom">;
1752
+ [k: string]: OAuth2ProviderClientConfiguration<"42" | "amazoncognito" | "anilist" | "apple" | "atlassian" | "attio" | "auth0" | "authentik" | "autodesk" | "battlenet" | "bitbucket" | "box" | "bungie" | "calendly" | "close" | "coinbase" | "discord" | "donationalerts" | "dribbble" | "dropbox" | "epicgames" | "etsy" | "facebook" | "figma" | "gitea" | "github" | "gitlab" | "gohighlevel" | "google" | "hubspot" | "intuit" | "kakao" | "keycloak" | "kick" | "lichess" | "line" | "linear" | "linkedin" | "mastodon" | "mercadolibre" | "mercadopago" | "microsoftentraid" | "monday" | "myanimelist" | "naver" | "notion" | "okta" | "onspark" | "osu" | "patreon" | "pipedrive" | "polar" | "polaraccesslink" | "polarteampro" | "reddit" | "roblox" | "salesforce" | "shikimori" | "slack" | "slackuser" | "spotify" | "startgg" | "strava" | "synology" | "tiktok" | "tiltify" | "tumblr" | "twitch" | "twitter" | "vk" | "withings" | "workos" | "yahoo" | "yandex" | "zoho" | "zoom">;
19
1753
  };
20
1754
  };
21
1755
  export declare const resolveClientProviderEntry: ({ clientName, clientProviders, providerName }: {
@@ -46,7 +1780,7 @@ export declare const resolveProviderClientConfiguration: ({ clientName, provider
46
1780
  error: "Client provider not found";
47
1781
  config?: undefined;
48
1782
  } | {
49
- config: OAuth2ProviderClientConfiguration<"42" | "amazoncognito" | "anilist" | "apple" | "atlassian" | "attio" | "auth0" | "authentik" | "autodesk" | "battlenet" | "bitbucket" | "box" | "bungie" | "calendly" | "close" | "coinbase" | "discord" | "donationalerts" | "dribbble" | "dropbox" | "epicgames" | "etsy" | "facebook" | "figma" | "gitea" | "github" | "gitlab" | "gohighlevel" | "google" | "hubspot" | "intuit" | "kakao" | "keycloak" | "kick" | "lichess" | "line" | "linear" | "linkedin" | "mastodon" | "mercadolibre" | "mercadopago" | "microsoftentraid" | "monday" | "myanimelist" | "naver" | "notion" | "okta" | "osu" | "patreon" | "pipedrive" | "polar" | "polaraccesslink" | "polarteampro" | "reddit" | "roblox" | "salesforce" | "shikimori" | "slack" | "slackuser" | "spotify" | "startgg" | "strava" | "synology" | "tiktok" | "tiltify" | "tumblr" | "twitch" | "twitter" | "vk" | "withings" | "workos" | "yahoo" | "yandex" | "zoho" | "zoom"> | undefined;
1783
+ config: OAuth2ProviderClientConfiguration<"42" | "amazoncognito" | "anilist" | "apple" | "atlassian" | "attio" | "auth0" | "authentik" | "autodesk" | "battlenet" | "bitbucket" | "box" | "bungie" | "calendly" | "close" | "coinbase" | "discord" | "donationalerts" | "dribbble" | "dropbox" | "epicgames" | "etsy" | "facebook" | "figma" | "gitea" | "github" | "gitlab" | "gohighlevel" | "google" | "hubspot" | "intuit" | "kakao" | "keycloak" | "kick" | "lichess" | "line" | "linear" | "linkedin" | "mastodon" | "mercadolibre" | "mercadopago" | "microsoftentraid" | "monday" | "myanimelist" | "naver" | "notion" | "okta" | "onspark" | "osu" | "patreon" | "pipedrive" | "polar" | "polaraccesslink" | "polarteampro" | "reddit" | "roblox" | "salesforce" | "shikimori" | "slack" | "slackuser" | "spotify" | "startgg" | "strava" | "synology" | "tiktok" | "tiltify" | "tumblr" | "twitch" | "twitter" | "vk" | "withings" | "workos" | "yahoo" | "yandex" | "zoho" | "zoom"> | undefined;
50
1784
  readonly error?: undefined;
51
1785
  } | {
52
1786
  error: "Client variant is required";