@xylex-group/athena 2.13.0 → 3.0.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.
- package/README.md +91 -1398
- package/bin/athena-js.js +0 -0
- package/dist/admin.d.cts +1 -1
- package/dist/admin.d.ts +1 -1
- package/dist/billing.cjs +1199 -0
- package/dist/billing.cjs.map +1 -0
- package/dist/billing.d.cts +230 -0
- package/dist/billing.d.ts +230 -0
- package/dist/billing.js +1194 -0
- package/dist/billing.js.map +1 -0
- package/dist/browser.cjs +8934 -8075
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +11 -10
- package/dist/browser.d.ts +11 -10
- package/dist/browser.js +8931 -8073
- package/dist/browser.js.map +1 -1
- package/dist/cli/index.cjs +8328 -7062
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.d.cts +4 -4
- package/dist/cli/index.d.ts +4 -4
- package/dist/cli/index.js +8328 -7062
- package/dist/cli/index.js.map +1 -1
- package/dist/index.cjs +9391 -8526
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -10
- package/dist/index.d.ts +11 -10
- package/dist/index.js +9384 -8524
- package/dist/index.js.map +1 -1
- package/dist/{model-form-Dw4zEL5a.d.cts → model-form-BEfCGB5b.d.cts} +2 -2
- package/dist/{model-form-yRg71q3H.d.ts → model-form-BKetpu6Q.d.ts} +2 -2
- package/dist/module-8dSMcy0K.d.cts +326 -0
- package/dist/module-8dSMcy0K.d.ts +326 -0
- package/dist/{module-DBteUIob.d.ts → module-Bef_MAPO.d.ts} +6 -52
- package/dist/{module-yoX49uQC.d.cts → module-CrrSmpML.d.cts} +6 -52
- package/dist/next/client.cjs +2 -8668
- package/dist/next/client.cjs.map +1 -1
- package/dist/next/client.d.cts +1 -27
- package/dist/next/client.d.ts +1 -27
- package/dist/next/client.js +3 -8668
- package/dist/next/client.js.map +1 -1
- package/dist/next/server.cjs +79 -8779
- package/dist/next/server.cjs.map +1 -1
- package/dist/next/server.d.cts +30 -46
- package/dist/next/server.d.ts +30 -46
- package/dist/next/server.js +79 -8779
- package/dist/next/server.js.map +1 -1
- package/dist/{payload-DEOWN_oo.d.ts → payload-DWI1rw-e.d.cts} +1 -35
- package/dist/{payload-BzVbUgY_.d.cts → payload-DWI1rw-e.d.ts} +1 -35
- package/dist/{pipeline-Bj6RWt1A.d.ts → pipeline-BXFQbsUW.d.ts} +1 -1
- package/dist/{pipeline-Dwck-wZO.d.cts → pipeline-Dfsed4VD.d.cts} +1 -1
- package/dist/react.cjs +114 -13
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +46 -16
- package/dist/react.d.ts +46 -16
- package/dist/react.js +113 -14
- package/dist/react.js.map +1 -1
- package/dist/social-providers.cjs +33 -24
- package/dist/social-providers.cjs.map +1 -1
- package/dist/social-providers.d.cts +79 -82
- package/dist/social-providers.d.ts +79 -82
- package/dist/social-providers.js +33 -24
- package/dist/social-providers.js.map +1 -1
- package/dist/{types-eAKAh71s.d.cts → types-AOY-GLu8.d.cts} +27 -54
- package/dist/{types-eAKAh71s.d.ts → types-AOY-GLu8.d.ts} +27 -54
- package/dist/{types-CH78O90i.d.cts → types-Bltx6iL6.d.cts} +4 -6
- package/dist/{types-CH78O90i.d.ts → types-Bltx6iL6.d.ts} +4 -6
- package/dist/{types-DPgejxYC.d.ts → types-CK7cBQbC.d.ts} +2 -2
- package/dist/{types-CjC9_5ZQ.d.cts → types-Z3-rsiM3.d.cts} +2 -2
- package/dist/{types-BRP7sfSF.d.ts → types-jClgDy1J.d.ts} +2 -2
- package/dist/{types-BU8uJH_b.d.cts → types-kO_Ut5wU.d.cts} +2 -2
- package/dist/utils.cjs +7 -8
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.d.cts +2 -5
- package/dist/utils.d.ts +2 -5
- package/dist/utils.js +7 -8
- package/dist/utils.js.map +1 -1
- package/dist/{client-DVOKSYDI.d.ts → v3-client-CuCNy-JJ.d.ts} +532 -470
- package/dist/{client-BJjUwDSg.d.cts → v3-client-G8JMOilK.d.cts} +532 -470
- package/package.json +31 -21
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import * as url from 'url';
|
|
2
1
|
import * as z from 'zod';
|
|
3
|
-
export {
|
|
2
|
+
export { aO as AthenaAuthSocialProviderExtensions, aP as AuthOAuthProvider, aQ as AuthSocialProvider, aR as AuthSocialProviderBuiltin } from './types-AOY-GLu8.cjs';
|
|
4
3
|
import { importJWK, JWTPayload } from 'jose';
|
|
5
|
-
import * as crypto from 'crypto';
|
|
6
4
|
|
|
7
5
|
type Awaitable<T> = T | Promise<T>;
|
|
8
6
|
type AwaitableFunction<T> = T | (() => Awaitable<T>);
|
|
@@ -190,7 +188,7 @@ declare const wechat: (options: WeChatOptions) => {
|
|
|
190
188
|
redirectURI: string;
|
|
191
189
|
display?: string | undefined;
|
|
192
190
|
loginHint?: string | undefined;
|
|
193
|
-
}):
|
|
191
|
+
}): URL;
|
|
194
192
|
validateAuthorizationCode: ({ code }: {
|
|
195
193
|
code: string;
|
|
196
194
|
redirectURI: string;
|
|
@@ -255,7 +253,7 @@ declare const vercel: (options: VercelOptions) => {
|
|
|
255
253
|
redirectURI: string;
|
|
256
254
|
display?: string | undefined;
|
|
257
255
|
loginHint?: string | undefined;
|
|
258
|
-
}): Promise<
|
|
256
|
+
}): Promise<URL>;
|
|
259
257
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
260
258
|
code: string;
|
|
261
259
|
redirectURI: string;
|
|
@@ -307,7 +305,7 @@ declare const railway: (options: RailwayOptions) => {
|
|
|
307
305
|
redirectURI: string;
|
|
308
306
|
display?: string | undefined;
|
|
309
307
|
loginHint?: string | undefined;
|
|
310
|
-
}): Promise<
|
|
308
|
+
}): Promise<URL>;
|
|
311
309
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
312
310
|
code: string;
|
|
313
311
|
redirectURI: string;
|
|
@@ -358,8 +356,7 @@ interface PolarProfile {
|
|
|
358
356
|
profile_settings_public_email?: string;
|
|
359
357
|
} | undefined;
|
|
360
358
|
}
|
|
361
|
-
|
|
362
|
-
}
|
|
359
|
+
type PolarOptions = ProviderOptions<PolarProfile>;
|
|
363
360
|
declare const polar: (options: PolarOptions) => {
|
|
364
361
|
id: "polar";
|
|
365
362
|
name: string;
|
|
@@ -370,7 +367,7 @@ declare const polar: (options: PolarOptions) => {
|
|
|
370
367
|
redirectURI: string;
|
|
371
368
|
display?: string | undefined;
|
|
372
369
|
loginHint?: string | undefined;
|
|
373
|
-
}): Promise<
|
|
370
|
+
}): Promise<URL>;
|
|
374
371
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
375
372
|
code: string;
|
|
376
373
|
redirectURI: string;
|
|
@@ -482,7 +479,7 @@ declare const paybin: (options: PaybinOptions) => {
|
|
|
482
479
|
redirectURI: string;
|
|
483
480
|
display?: string | undefined;
|
|
484
481
|
loginHint?: string | undefined;
|
|
485
|
-
}): Promise<
|
|
482
|
+
}): Promise<URL>;
|
|
486
483
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
487
484
|
code: string;
|
|
488
485
|
redirectURI: string;
|
|
@@ -552,7 +549,7 @@ declare const line: (options: LineOptions) => {
|
|
|
552
549
|
redirectURI: string;
|
|
553
550
|
display?: string | undefined;
|
|
554
551
|
loginHint?: string | undefined;
|
|
555
|
-
}): Promise<
|
|
552
|
+
}): Promise<URL>;
|
|
556
553
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
557
554
|
code: string;
|
|
558
555
|
redirectURI: string;
|
|
@@ -645,7 +642,7 @@ declare const naver: (options: NaverOptions) => {
|
|
|
645
642
|
redirectURI: string;
|
|
646
643
|
display?: string | undefined;
|
|
647
644
|
loginHint?: string | undefined;
|
|
648
|
-
}): Promise<
|
|
645
|
+
}): Promise<URL>;
|
|
649
646
|
validateAuthorizationCode: ({ code, redirectURI }: {
|
|
650
647
|
code: string;
|
|
651
648
|
redirectURI: string;
|
|
@@ -796,7 +793,7 @@ declare const kakao: (options: KakaoOptions) => {
|
|
|
796
793
|
redirectURI: string;
|
|
797
794
|
display?: string | undefined;
|
|
798
795
|
loginHint?: string | undefined;
|
|
799
|
-
}): Promise<
|
|
796
|
+
}): Promise<URL>;
|
|
800
797
|
validateAuthorizationCode: ({ code, redirectURI }: {
|
|
801
798
|
code: string;
|
|
802
799
|
redirectURI: string;
|
|
@@ -870,7 +867,7 @@ declare const notion: (options: NotionOptions) => {
|
|
|
870
867
|
redirectURI: string;
|
|
871
868
|
display?: string | undefined;
|
|
872
869
|
loginHint?: string | undefined;
|
|
873
|
-
}): Promise<
|
|
870
|
+
}): Promise<URL>;
|
|
874
871
|
validateAuthorizationCode: ({ code, redirectURI }: {
|
|
875
872
|
code: string;
|
|
876
873
|
redirectURI: string;
|
|
@@ -1054,7 +1051,7 @@ declare const vk: (options: VkOption) => {
|
|
|
1054
1051
|
redirectURI: string;
|
|
1055
1052
|
display?: string | undefined;
|
|
1056
1053
|
loginHint?: string | undefined;
|
|
1057
|
-
}): Promise<
|
|
1054
|
+
}): Promise<URL>;
|
|
1058
1055
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI, deviceId, }: {
|
|
1059
1056
|
code: string;
|
|
1060
1057
|
redirectURI: string;
|
|
@@ -1121,7 +1118,7 @@ declare const salesforce: (options: SalesforceOptions) => {
|
|
|
1121
1118
|
redirectURI: string;
|
|
1122
1119
|
display?: string | undefined;
|
|
1123
1120
|
loginHint?: string | undefined;
|
|
1124
|
-
}): Promise<
|
|
1121
|
+
}): Promise<URL>;
|
|
1125
1122
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
1126
1123
|
code: string;
|
|
1127
1124
|
redirectURI: string;
|
|
@@ -1181,7 +1178,7 @@ declare const roblox: (options: RobloxOptions) => {
|
|
|
1181
1178
|
redirectURI: string;
|
|
1182
1179
|
display?: string | undefined;
|
|
1183
1180
|
loginHint?: string | undefined;
|
|
1184
|
-
}):
|
|
1181
|
+
}): URL;
|
|
1185
1182
|
validateAuthorizationCode: ({ code, redirectURI }: {
|
|
1186
1183
|
code: string;
|
|
1187
1184
|
redirectURI: string;
|
|
@@ -1233,7 +1230,7 @@ declare const reddit: (options: RedditOptions) => {
|
|
|
1233
1230
|
redirectURI: string;
|
|
1234
1231
|
display?: string | undefined;
|
|
1235
1232
|
loginHint?: string | undefined;
|
|
1236
|
-
}): Promise<
|
|
1233
|
+
}): Promise<URL>;
|
|
1237
1234
|
validateAuthorizationCode: ({ code, redirectURI }: {
|
|
1238
1235
|
code: string;
|
|
1239
1236
|
redirectURI: string;
|
|
@@ -1392,7 +1389,7 @@ declare const tiktok: (options: TiktokOptions) => {
|
|
|
1392
1389
|
redirectURI: string;
|
|
1393
1390
|
display?: string | undefined;
|
|
1394
1391
|
loginHint?: string | undefined;
|
|
1395
|
-
}):
|
|
1392
|
+
}): URL;
|
|
1396
1393
|
validateAuthorizationCode: ({ code, redirectURI }: {
|
|
1397
1394
|
code: string;
|
|
1398
1395
|
redirectURI: string;
|
|
@@ -1481,7 +1478,7 @@ declare const gitlab: (options: GitlabOptions) => {
|
|
|
1481
1478
|
redirectURI: string;
|
|
1482
1479
|
display?: string | undefined;
|
|
1483
1480
|
loginHint?: string | undefined;
|
|
1484
|
-
}) => Promise<
|
|
1481
|
+
}) => Promise<URL>;
|
|
1485
1482
|
validateAuthorizationCode: ({ code, redirectURI, codeVerifier }: {
|
|
1486
1483
|
code: string;
|
|
1487
1484
|
redirectURI: string;
|
|
@@ -1558,7 +1555,7 @@ declare const linkedin: (options: LinkedInOptions) => {
|
|
|
1558
1555
|
redirectURI: string;
|
|
1559
1556
|
display?: string | undefined;
|
|
1560
1557
|
loginHint?: string | undefined;
|
|
1561
|
-
}) => Promise<
|
|
1558
|
+
}) => Promise<URL>;
|
|
1562
1559
|
validateAuthorizationCode: ({ code, redirectURI }: {
|
|
1563
1560
|
code: string;
|
|
1564
1561
|
redirectURI: string;
|
|
@@ -1615,7 +1612,7 @@ declare const linear: (options: LinearOptions) => {
|
|
|
1615
1612
|
redirectURI: string;
|
|
1616
1613
|
display?: string | undefined;
|
|
1617
1614
|
loginHint?: string | undefined;
|
|
1618
|
-
}): Promise<
|
|
1615
|
+
}): Promise<URL>;
|
|
1619
1616
|
validateAuthorizationCode: ({ code, redirectURI }: {
|
|
1620
1617
|
code: string;
|
|
1621
1618
|
redirectURI: string;
|
|
@@ -1676,7 +1673,7 @@ declare const kick: (options: KickOptions) => {
|
|
|
1676
1673
|
redirectURI: string;
|
|
1677
1674
|
display?: string | undefined;
|
|
1678
1675
|
loginHint?: string | undefined;
|
|
1679
|
-
}): Promise<
|
|
1676
|
+
}): Promise<URL>;
|
|
1680
1677
|
validateAuthorizationCode({ code, redirectURI, codeVerifier }: {
|
|
1681
1678
|
code: string;
|
|
1682
1679
|
redirectURI: string;
|
|
@@ -1733,7 +1730,7 @@ declare const dropbox: (options: DropboxOptions) => {
|
|
|
1733
1730
|
redirectURI: string;
|
|
1734
1731
|
display?: string | undefined;
|
|
1735
1732
|
loginHint?: string | undefined;
|
|
1736
|
-
}) => Promise<
|
|
1733
|
+
}) => Promise<URL>;
|
|
1737
1734
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
1738
1735
|
code: string;
|
|
1739
1736
|
redirectURI: string;
|
|
@@ -1864,7 +1861,7 @@ declare const twitter: (options: TwitterOption) => {
|
|
|
1864
1861
|
redirectURI: string;
|
|
1865
1862
|
display?: string | undefined;
|
|
1866
1863
|
loginHint?: string | undefined;
|
|
1867
|
-
}): Promise<
|
|
1864
|
+
}): Promise<URL>;
|
|
1868
1865
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
1869
1866
|
code: string;
|
|
1870
1867
|
redirectURI: string;
|
|
@@ -1933,7 +1930,7 @@ declare const twitch: (options: TwitchOptions) => {
|
|
|
1933
1930
|
redirectURI: string;
|
|
1934
1931
|
display?: string | undefined;
|
|
1935
1932
|
loginHint?: string | undefined;
|
|
1936
|
-
}): Promise<
|
|
1933
|
+
}): Promise<URL>;
|
|
1937
1934
|
validateAuthorizationCode: ({ code, redirectURI }: {
|
|
1938
1935
|
code: string;
|
|
1939
1936
|
redirectURI: string;
|
|
@@ -1984,7 +1981,7 @@ declare const spotify: (options: SpotifyOptions) => {
|
|
|
1984
1981
|
redirectURI: string;
|
|
1985
1982
|
display?: string | undefined;
|
|
1986
1983
|
loginHint?: string | undefined;
|
|
1987
|
-
}): Promise<
|
|
1984
|
+
}): Promise<URL>;
|
|
1988
1985
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
1989
1986
|
code: string;
|
|
1990
1987
|
redirectURI: string;
|
|
@@ -2057,7 +2054,7 @@ declare const slack: (options: SlackOptions) => {
|
|
|
2057
2054
|
redirectURI: string;
|
|
2058
2055
|
display?: string | undefined;
|
|
2059
2056
|
loginHint?: string | undefined;
|
|
2060
|
-
}):
|
|
2057
|
+
}): URL;
|
|
2061
2058
|
validateAuthorizationCode: ({ code, redirectURI }: {
|
|
2062
2059
|
code: string;
|
|
2063
2060
|
redirectURI: string;
|
|
@@ -2128,7 +2125,7 @@ declare const huggingface: (options: HuggingFaceOptions) => {
|
|
|
2128
2125
|
redirectURI: string;
|
|
2129
2126
|
display?: string | undefined;
|
|
2130
2127
|
loginHint?: string | undefined;
|
|
2131
|
-
}): Promise<
|
|
2128
|
+
}): Promise<URL>;
|
|
2132
2129
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
2133
2130
|
code: string;
|
|
2134
2131
|
redirectURI: string;
|
|
@@ -2404,7 +2401,7 @@ declare const github: (options: GithubOptions) => {
|
|
|
2404
2401
|
redirectURI: string;
|
|
2405
2402
|
display?: string | undefined;
|
|
2406
2403
|
loginHint?: string | undefined;
|
|
2407
|
-
}): Promise<
|
|
2404
|
+
}): Promise<URL>;
|
|
2408
2405
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
2409
2406
|
code: string;
|
|
2410
2407
|
redirectURI: string;
|
|
@@ -2453,7 +2450,7 @@ declare const figma: (options: FigmaOptions) => {
|
|
|
2453
2450
|
redirectURI: string;
|
|
2454
2451
|
display?: string | undefined;
|
|
2455
2452
|
loginHint?: string | undefined;
|
|
2456
|
-
}): Promise<
|
|
2453
|
+
}): Promise<URL>;
|
|
2457
2454
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
2458
2455
|
code: string;
|
|
2459
2456
|
redirectURI: string;
|
|
@@ -2602,7 +2599,7 @@ declare const discord: (options: DiscordOptions) => {
|
|
|
2602
2599
|
redirectURI: string;
|
|
2603
2600
|
display?: string | undefined;
|
|
2604
2601
|
loginHint?: string | undefined;
|
|
2605
|
-
}):
|
|
2602
|
+
}): URL;
|
|
2606
2603
|
validateAuthorizationCode: ({ code, redirectURI }: {
|
|
2607
2604
|
code: string;
|
|
2608
2605
|
redirectURI: string;
|
|
@@ -2733,7 +2730,7 @@ declare const athena: (options: AthenaOptions) => {
|
|
|
2733
2730
|
redirectURI: string;
|
|
2734
2731
|
display?: string | undefined;
|
|
2735
2732
|
loginHint?: string | undefined;
|
|
2736
|
-
}): Promise<
|
|
2733
|
+
}): Promise<URL>;
|
|
2737
2734
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI, }: {
|
|
2738
2735
|
code: string;
|
|
2739
2736
|
redirectURI: string;
|
|
@@ -2791,7 +2788,7 @@ declare const atlassian: (options: AtlassianOptions) => {
|
|
|
2791
2788
|
redirectURI: string;
|
|
2792
2789
|
display?: string | undefined;
|
|
2793
2790
|
loginHint?: string | undefined;
|
|
2794
|
-
}): Promise<
|
|
2791
|
+
}): Promise<URL>;
|
|
2795
2792
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
2796
2793
|
code: string;
|
|
2797
2794
|
redirectURI: string;
|
|
@@ -2923,7 +2920,7 @@ declare const socialProviders: {
|
|
|
2923
2920
|
redirectURI: string;
|
|
2924
2921
|
display?: string | undefined;
|
|
2925
2922
|
loginHint?: string | undefined;
|
|
2926
|
-
}): Promise<
|
|
2923
|
+
}): Promise<URL>;
|
|
2927
2924
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
2928
2925
|
code: string;
|
|
2929
2926
|
redirectURI: string;
|
|
@@ -2963,7 +2960,7 @@ declare const socialProviders: {
|
|
|
2963
2960
|
redirectURI: string;
|
|
2964
2961
|
display?: string | undefined;
|
|
2965
2962
|
loginHint?: string | undefined;
|
|
2966
|
-
}): Promise<
|
|
2963
|
+
}): Promise<URL>;
|
|
2967
2964
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
2968
2965
|
code: string;
|
|
2969
2966
|
redirectURI: string;
|
|
@@ -3002,7 +2999,7 @@ declare const socialProviders: {
|
|
|
3002
2999
|
redirectURI: string;
|
|
3003
3000
|
display?: string | undefined;
|
|
3004
3001
|
loginHint?: string | undefined;
|
|
3005
|
-
}): Promise<
|
|
3002
|
+
}): Promise<URL>;
|
|
3006
3003
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI, }: {
|
|
3007
3004
|
code: string;
|
|
3008
3005
|
redirectURI: string;
|
|
@@ -3041,7 +3038,7 @@ declare const socialProviders: {
|
|
|
3041
3038
|
redirectURI: string;
|
|
3042
3039
|
display?: string | undefined;
|
|
3043
3040
|
loginHint?: string | undefined;
|
|
3044
|
-
}): Promise<
|
|
3041
|
+
}): Promise<URL>;
|
|
3045
3042
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
3046
3043
|
code: string;
|
|
3047
3044
|
redirectURI: string;
|
|
@@ -3081,7 +3078,7 @@ declare const socialProviders: {
|
|
|
3081
3078
|
redirectURI: string;
|
|
3082
3079
|
display?: string | undefined;
|
|
3083
3080
|
loginHint?: string | undefined;
|
|
3084
|
-
}):
|
|
3081
|
+
}): URL;
|
|
3085
3082
|
validateAuthorizationCode: ({ code, redirectURI }: {
|
|
3086
3083
|
code: string;
|
|
3087
3084
|
redirectURI: string;
|
|
@@ -3120,7 +3117,7 @@ declare const socialProviders: {
|
|
|
3120
3117
|
redirectURI: string;
|
|
3121
3118
|
display?: string | undefined;
|
|
3122
3119
|
loginHint?: string | undefined;
|
|
3123
|
-
}): Promise<
|
|
3120
|
+
}): Promise<URL>;
|
|
3124
3121
|
validateAuthorizationCode: ({ code, redirectURI }: {
|
|
3125
3122
|
code: string;
|
|
3126
3123
|
redirectURI: string;
|
|
@@ -3160,7 +3157,7 @@ declare const socialProviders: {
|
|
|
3160
3157
|
redirectURI: string;
|
|
3161
3158
|
display?: string | undefined;
|
|
3162
3159
|
loginHint?: string | undefined;
|
|
3163
|
-
}): Promise<
|
|
3160
|
+
}): Promise<URL>;
|
|
3164
3161
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
3165
3162
|
code: string;
|
|
3166
3163
|
redirectURI: string;
|
|
@@ -3199,7 +3196,7 @@ declare const socialProviders: {
|
|
|
3199
3196
|
redirectURI: string;
|
|
3200
3197
|
display?: string | undefined;
|
|
3201
3198
|
loginHint?: string | undefined;
|
|
3202
|
-
}): Promise<
|
|
3199
|
+
}): Promise<URL>;
|
|
3203
3200
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
3204
3201
|
code: string;
|
|
3205
3202
|
redirectURI: string;
|
|
@@ -3238,7 +3235,7 @@ declare const socialProviders: {
|
|
|
3238
3235
|
redirectURI: string;
|
|
3239
3236
|
display?: string | undefined;
|
|
3240
3237
|
loginHint?: string | undefined;
|
|
3241
|
-
}): Promise<
|
|
3238
|
+
}): Promise<URL>;
|
|
3242
3239
|
validateAuthorizationCode({ code, codeVerifier, redirectURI }: {
|
|
3243
3240
|
code: string;
|
|
3244
3241
|
redirectURI: string;
|
|
@@ -3278,7 +3275,7 @@ declare const socialProviders: {
|
|
|
3278
3275
|
redirectURI: string;
|
|
3279
3276
|
display?: string | undefined;
|
|
3280
3277
|
loginHint?: string | undefined;
|
|
3281
|
-
}): Promise<
|
|
3278
|
+
}): Promise<URL>;
|
|
3282
3279
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
3283
3280
|
code: string;
|
|
3284
3281
|
redirectURI: string;
|
|
@@ -3318,7 +3315,7 @@ declare const socialProviders: {
|
|
|
3318
3315
|
redirectURI: string;
|
|
3319
3316
|
display?: string | undefined;
|
|
3320
3317
|
loginHint?: string | undefined;
|
|
3321
|
-
}): Promise<
|
|
3318
|
+
}): Promise<URL>;
|
|
3322
3319
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
3323
3320
|
code: string;
|
|
3324
3321
|
redirectURI: string;
|
|
@@ -3357,7 +3354,7 @@ declare const socialProviders: {
|
|
|
3357
3354
|
redirectURI: string;
|
|
3358
3355
|
display?: string | undefined;
|
|
3359
3356
|
loginHint?: string | undefined;
|
|
3360
|
-
}):
|
|
3357
|
+
}): URL;
|
|
3361
3358
|
validateAuthorizationCode: ({ code, redirectURI }: {
|
|
3362
3359
|
code: string;
|
|
3363
3360
|
redirectURI: string;
|
|
@@ -3396,7 +3393,7 @@ declare const socialProviders: {
|
|
|
3396
3393
|
redirectURI: string;
|
|
3397
3394
|
display?: string | undefined;
|
|
3398
3395
|
loginHint?: string | undefined;
|
|
3399
|
-
}): Promise<
|
|
3396
|
+
}): Promise<URL>;
|
|
3400
3397
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
3401
3398
|
code: string;
|
|
3402
3399
|
redirectURI: string;
|
|
@@ -3435,7 +3432,7 @@ declare const socialProviders: {
|
|
|
3435
3432
|
redirectURI: string;
|
|
3436
3433
|
display?: string | undefined;
|
|
3437
3434
|
loginHint?: string | undefined;
|
|
3438
|
-
}): Promise<
|
|
3435
|
+
}): Promise<URL>;
|
|
3439
3436
|
validateAuthorizationCode: ({ code, redirectURI }: {
|
|
3440
3437
|
code: string;
|
|
3441
3438
|
redirectURI: string;
|
|
@@ -3474,7 +3471,7 @@ declare const socialProviders: {
|
|
|
3474
3471
|
redirectURI: string;
|
|
3475
3472
|
display?: string | undefined;
|
|
3476
3473
|
loginHint?: string | undefined;
|
|
3477
|
-
}): Promise<
|
|
3474
|
+
}): Promise<URL>;
|
|
3478
3475
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
3479
3476
|
code: string;
|
|
3480
3477
|
redirectURI: string;
|
|
@@ -3513,7 +3510,7 @@ declare const socialProviders: {
|
|
|
3513
3510
|
redirectURI: string;
|
|
3514
3511
|
display?: string | undefined;
|
|
3515
3512
|
loginHint?: string | undefined;
|
|
3516
|
-
}) => Promise<
|
|
3513
|
+
}) => Promise<URL>;
|
|
3517
3514
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
3518
3515
|
code: string;
|
|
3519
3516
|
redirectURI: string;
|
|
@@ -3552,7 +3549,7 @@ declare const socialProviders: {
|
|
|
3552
3549
|
redirectURI: string;
|
|
3553
3550
|
display?: string | undefined;
|
|
3554
3551
|
loginHint?: string | undefined;
|
|
3555
|
-
}): Promise<
|
|
3552
|
+
}): Promise<URL>;
|
|
3556
3553
|
validateAuthorizationCode({ code, redirectURI, codeVerifier }: {
|
|
3557
3554
|
code: string;
|
|
3558
3555
|
redirectURI: string;
|
|
@@ -3591,7 +3588,7 @@ declare const socialProviders: {
|
|
|
3591
3588
|
redirectURI: string;
|
|
3592
3589
|
display?: string | undefined;
|
|
3593
3590
|
loginHint?: string | undefined;
|
|
3594
|
-
}): Promise<
|
|
3591
|
+
}): Promise<URL>;
|
|
3595
3592
|
validateAuthorizationCode: ({ code, redirectURI }: {
|
|
3596
3593
|
code: string;
|
|
3597
3594
|
redirectURI: string;
|
|
@@ -3630,7 +3627,7 @@ declare const socialProviders: {
|
|
|
3630
3627
|
redirectURI: string;
|
|
3631
3628
|
display?: string | undefined;
|
|
3632
3629
|
loginHint?: string | undefined;
|
|
3633
|
-
}) => Promise<
|
|
3630
|
+
}) => Promise<URL>;
|
|
3634
3631
|
validateAuthorizationCode: ({ code, redirectURI }: {
|
|
3635
3632
|
code: string;
|
|
3636
3633
|
redirectURI: string;
|
|
@@ -3669,7 +3666,7 @@ declare const socialProviders: {
|
|
|
3669
3666
|
redirectURI: string;
|
|
3670
3667
|
display?: string | undefined;
|
|
3671
3668
|
loginHint?: string | undefined;
|
|
3672
|
-
}) => Promise<
|
|
3669
|
+
}) => Promise<URL>;
|
|
3673
3670
|
validateAuthorizationCode: ({ code, redirectURI, codeVerifier }: {
|
|
3674
3671
|
code: string;
|
|
3675
3672
|
redirectURI: string;
|
|
@@ -3729,7 +3726,7 @@ declare const socialProviders: {
|
|
|
3729
3726
|
redirectURI: string;
|
|
3730
3727
|
display?: string | undefined;
|
|
3731
3728
|
loginHint?: string | undefined;
|
|
3732
|
-
}):
|
|
3729
|
+
}): URL;
|
|
3733
3730
|
validateAuthorizationCode: ({ code, redirectURI }: {
|
|
3734
3731
|
code: string;
|
|
3735
3732
|
redirectURI: string;
|
|
@@ -3768,7 +3765,7 @@ declare const socialProviders: {
|
|
|
3768
3765
|
redirectURI: string;
|
|
3769
3766
|
display?: string | undefined;
|
|
3770
3767
|
loginHint?: string | undefined;
|
|
3771
|
-
}): Promise<
|
|
3768
|
+
}): Promise<URL>;
|
|
3772
3769
|
validateAuthorizationCode: ({ code, redirectURI }: {
|
|
3773
3770
|
code: string;
|
|
3774
3771
|
redirectURI: string;
|
|
@@ -3807,7 +3804,7 @@ declare const socialProviders: {
|
|
|
3807
3804
|
redirectURI: string;
|
|
3808
3805
|
display?: string | undefined;
|
|
3809
3806
|
loginHint?: string | undefined;
|
|
3810
|
-
}):
|
|
3807
|
+
}): URL;
|
|
3811
3808
|
validateAuthorizationCode: ({ code, redirectURI }: {
|
|
3812
3809
|
code: string;
|
|
3813
3810
|
redirectURI: string;
|
|
@@ -3846,7 +3843,7 @@ declare const socialProviders: {
|
|
|
3846
3843
|
redirectURI: string;
|
|
3847
3844
|
display?: string | undefined;
|
|
3848
3845
|
loginHint?: string | undefined;
|
|
3849
|
-
}): Promise<
|
|
3846
|
+
}): Promise<URL>;
|
|
3850
3847
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
3851
3848
|
code: string;
|
|
3852
3849
|
redirectURI: string;
|
|
@@ -3885,7 +3882,7 @@ declare const socialProviders: {
|
|
|
3885
3882
|
redirectURI: string;
|
|
3886
3883
|
display?: string | undefined;
|
|
3887
3884
|
loginHint?: string | undefined;
|
|
3888
|
-
}): Promise<
|
|
3885
|
+
}): Promise<URL>;
|
|
3889
3886
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI, deviceId, }: {
|
|
3890
3887
|
code: string;
|
|
3891
3888
|
redirectURI: string;
|
|
@@ -3924,7 +3921,7 @@ declare const socialProviders: {
|
|
|
3924
3921
|
redirectURI: string;
|
|
3925
3922
|
display?: string | undefined;
|
|
3926
3923
|
loginHint?: string | undefined;
|
|
3927
|
-
}) => Promise<
|
|
3924
|
+
}) => Promise<URL>;
|
|
3928
3925
|
validateAuthorizationCode: ({ code, redirectURI, codeVerifier }: {
|
|
3929
3926
|
code: string;
|
|
3930
3927
|
redirectURI: string;
|
|
@@ -3962,7 +3959,7 @@ declare const socialProviders: {
|
|
|
3962
3959
|
redirectURI: string;
|
|
3963
3960
|
display?: string | undefined;
|
|
3964
3961
|
loginHint?: string | undefined;
|
|
3965
|
-
}): Promise<
|
|
3962
|
+
}): Promise<URL>;
|
|
3966
3963
|
validateAuthorizationCode: ({ code, redirectURI }: {
|
|
3967
3964
|
code: string;
|
|
3968
3965
|
redirectURI: string;
|
|
@@ -4001,7 +3998,7 @@ declare const socialProviders: {
|
|
|
4001
3998
|
redirectURI: string;
|
|
4002
3999
|
display?: string | undefined;
|
|
4003
4000
|
loginHint?: string | undefined;
|
|
4004
|
-
}): Promise<
|
|
4001
|
+
}): Promise<URL>;
|
|
4005
4002
|
validateAuthorizationCode: ({ code, redirectURI }: {
|
|
4006
4003
|
code: string;
|
|
4007
4004
|
redirectURI: string;
|
|
@@ -4061,7 +4058,7 @@ declare const socialProviders: {
|
|
|
4061
4058
|
redirectURI: string;
|
|
4062
4059
|
display?: string | undefined;
|
|
4063
4060
|
loginHint?: string | undefined;
|
|
4064
|
-
}): Promise<
|
|
4061
|
+
}): Promise<URL>;
|
|
4065
4062
|
validateAuthorizationCode: ({ code, redirectURI }: {
|
|
4066
4063
|
code: string;
|
|
4067
4064
|
redirectURI: string;
|
|
@@ -4121,7 +4118,7 @@ declare const socialProviders: {
|
|
|
4121
4118
|
redirectURI: string;
|
|
4122
4119
|
display?: string | undefined;
|
|
4123
4120
|
loginHint?: string | undefined;
|
|
4124
|
-
}): Promise<
|
|
4121
|
+
}): Promise<URL>;
|
|
4125
4122
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
4126
4123
|
code: string;
|
|
4127
4124
|
redirectURI: string;
|
|
@@ -4182,7 +4179,7 @@ declare const socialProviders: {
|
|
|
4182
4179
|
redirectURI: string;
|
|
4183
4180
|
display?: string | undefined;
|
|
4184
4181
|
loginHint?: string | undefined;
|
|
4185
|
-
}): Promise<
|
|
4182
|
+
}): Promise<URL>;
|
|
4186
4183
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
4187
4184
|
code: string;
|
|
4188
4185
|
redirectURI: string;
|
|
@@ -4221,7 +4218,7 @@ declare const socialProviders: {
|
|
|
4221
4218
|
redirectURI: string;
|
|
4222
4219
|
display?: string | undefined;
|
|
4223
4220
|
loginHint?: string | undefined;
|
|
4224
|
-
}): Promise<
|
|
4221
|
+
}): Promise<URL>;
|
|
4225
4222
|
validateAuthorizationCode: ({ code, redirectURI }: {
|
|
4226
4223
|
code: string;
|
|
4227
4224
|
redirectURI: string;
|
|
@@ -4291,7 +4288,7 @@ declare const socialProviders: {
|
|
|
4291
4288
|
redirectURI: string;
|
|
4292
4289
|
display?: string | undefined;
|
|
4293
4290
|
loginHint?: string | undefined;
|
|
4294
|
-
}): Promise<
|
|
4291
|
+
}): Promise<URL>;
|
|
4295
4292
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
4296
4293
|
code: string;
|
|
4297
4294
|
redirectURI: string;
|
|
@@ -4330,7 +4327,7 @@ declare const socialProviders: {
|
|
|
4330
4327
|
redirectURI: string;
|
|
4331
4328
|
display?: string | undefined;
|
|
4332
4329
|
loginHint?: string | undefined;
|
|
4333
|
-
}): Promise<
|
|
4330
|
+
}): Promise<URL>;
|
|
4334
4331
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
4335
4332
|
code: string;
|
|
4336
4333
|
redirectURI: string;
|
|
@@ -4369,7 +4366,7 @@ declare const socialProviders: {
|
|
|
4369
4366
|
redirectURI: string;
|
|
4370
4367
|
display?: string | undefined;
|
|
4371
4368
|
loginHint?: string | undefined;
|
|
4372
|
-
}): Promise<
|
|
4369
|
+
}): Promise<URL>;
|
|
4373
4370
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
4374
4371
|
code: string;
|
|
4375
4372
|
redirectURI: string;
|
|
@@ -4407,7 +4404,7 @@ declare const socialProviders: {
|
|
|
4407
4404
|
redirectURI: string;
|
|
4408
4405
|
display?: string | undefined;
|
|
4409
4406
|
loginHint?: string | undefined;
|
|
4410
|
-
}):
|
|
4407
|
+
}): URL;
|
|
4411
4408
|
validateAuthorizationCode: ({ code }: {
|
|
4412
4409
|
code: string;
|
|
4413
4410
|
redirectURI: string;
|
|
@@ -4527,7 +4524,7 @@ declare function trimTrailingSlash(value: string): string;
|
|
|
4527
4524
|
* Fetch Apple's JWKS and import the key for the given JWT `kid`.
|
|
4528
4525
|
* @see https://appleid.apple.com/auth/keys
|
|
4529
4526
|
*/
|
|
4530
|
-
declare const getApplePublicKey: (kid: string) => Promise<Uint8Array<ArrayBufferLike> |
|
|
4527
|
+
declare const getApplePublicKey: (kid: string) => Promise<Uint8Array<ArrayBufferLike> | CryptoKey>;
|
|
4531
4528
|
|
|
4532
4529
|
/**
|
|
4533
4530
|
* Sign in with Apple OAuth provider factory.
|
|
@@ -4547,7 +4544,7 @@ declare const apple: (options: AppleOptions) => {
|
|
|
4547
4544
|
redirectURI: string;
|
|
4548
4545
|
display?: string | undefined;
|
|
4549
4546
|
loginHint?: string | undefined;
|
|
4550
|
-
}): Promise<
|
|
4547
|
+
}): Promise<URL>;
|
|
4551
4548
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
4552
4549
|
code: string;
|
|
4553
4550
|
redirectURI: string;
|
|
@@ -4585,7 +4582,7 @@ declare const apple: (options: AppleOptions) => {
|
|
|
4585
4582
|
* @param region - AWS region of the pool (e.g. `us-east-1`)
|
|
4586
4583
|
* @param userPoolId - Cognito User Pool id
|
|
4587
4584
|
*/
|
|
4588
|
-
declare const getCognitoPublicKey: (kid: string, region: string, userPoolId: string) => Promise<Uint8Array<ArrayBufferLike> |
|
|
4585
|
+
declare const getCognitoPublicKey: (kid: string, region: string, userPoolId: string) => Promise<Uint8Array<ArrayBufferLike> | CryptoKey>;
|
|
4589
4586
|
|
|
4590
4587
|
/**
|
|
4591
4588
|
* Amazon Cognito Hosted UI OAuth provider factory.
|
|
@@ -4602,7 +4599,7 @@ declare const cognito: (options: CognitoOptions) => {
|
|
|
4602
4599
|
redirectURI: string;
|
|
4603
4600
|
display?: string | undefined;
|
|
4604
4601
|
loginHint?: string | undefined;
|
|
4605
|
-
}): Promise<
|
|
4602
|
+
}): Promise<URL>;
|
|
4606
4603
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
4607
4604
|
code: string;
|
|
4608
4605
|
redirectURI: string;
|
|
@@ -4666,7 +4663,7 @@ declare const facebook: (options: FacebookOptions) => {
|
|
|
4666
4663
|
redirectURI: string;
|
|
4667
4664
|
display?: string | undefined;
|
|
4668
4665
|
loginHint?: string | undefined;
|
|
4669
|
-
}): Promise<
|
|
4666
|
+
}): Promise<URL>;
|
|
4670
4667
|
validateAuthorizationCode: ({ code, redirectURI }: {
|
|
4671
4668
|
code: string;
|
|
4672
4669
|
redirectURI: string;
|
|
@@ -4697,7 +4694,7 @@ declare const facebook: (options: FacebookOptions) => {
|
|
|
4697
4694
|
options: FacebookOptions;
|
|
4698
4695
|
};
|
|
4699
4696
|
|
|
4700
|
-
declare const getGooglePublicKey: (kid: string) => Promise<Uint8Array<ArrayBufferLike> |
|
|
4697
|
+
declare const getGooglePublicKey: (kid: string) => Promise<Uint8Array<ArrayBufferLike> | CryptoKey>;
|
|
4701
4698
|
|
|
4702
4699
|
/**
|
|
4703
4700
|
* Verifies a Google ID token against Google's issuer, audience, signature,
|
|
@@ -4726,7 +4723,7 @@ declare const google: (options: GoogleOptions) => {
|
|
|
4726
4723
|
redirectURI: string;
|
|
4727
4724
|
display?: string | undefined;
|
|
4728
4725
|
loginHint?: string | undefined;
|
|
4729
|
-
}): Promise<
|
|
4726
|
+
}): Promise<URL>;
|
|
4730
4727
|
validateAuthorizationCode: ({ code, codeVerifier, redirectURI }: {
|
|
4731
4728
|
code: string;
|
|
4732
4729
|
redirectURI: string;
|
|
@@ -4764,7 +4761,7 @@ declare const google: (options: GoogleOptions) => {
|
|
|
4764
4761
|
* @param tenant - Tenant id or common/organizations/consumers
|
|
4765
4762
|
* @param authority - Authority host (no trailing slash), e.g. login.microsoftonline.com
|
|
4766
4763
|
*/
|
|
4767
|
-
declare const getMicrosoftPublicKey: (kid: string, tenant: string, authority: string) => Promise<Uint8Array<ArrayBufferLike> |
|
|
4764
|
+
declare const getMicrosoftPublicKey: (kid: string, tenant: string, authority: string) => Promise<Uint8Array<ArrayBufferLike> | CryptoKey>;
|
|
4768
4765
|
|
|
4769
4766
|
/**
|
|
4770
4767
|
* Microsoft Entra ID (Azure AD) OAuth provider factory.
|
|
@@ -4784,7 +4781,7 @@ declare const microsoft: (options: MicrosoftOptions) => {
|
|
|
4784
4781
|
redirectURI: string;
|
|
4785
4782
|
display?: string | undefined;
|
|
4786
4783
|
loginHint?: string | undefined;
|
|
4787
|
-
}): Promise<
|
|
4784
|
+
}): Promise<URL>;
|
|
4788
4785
|
validateAuthorizationCode({ code, codeVerifier, redirectURI }: {
|
|
4789
4786
|
code: string;
|
|
4790
4787
|
redirectURI: string;
|
|
@@ -4821,7 +4818,7 @@ declare const microsoft: (options: MicrosoftOptions) => {
|
|
|
4821
4818
|
* @param kid - Key id from the JWT protected header
|
|
4822
4819
|
* @param jwksUri - Sandbox or live JWKS endpoint
|
|
4823
4820
|
*/
|
|
4824
|
-
declare const getPayPalPublicKey: (kid: string, jwksUri: string) => Promise<Uint8Array<ArrayBufferLike> |
|
|
4821
|
+
declare const getPayPalPublicKey: (kid: string, jwksUri: string) => Promise<Uint8Array<ArrayBufferLike> | CryptoKey>;
|
|
4825
4822
|
|
|
4826
4823
|
/**
|
|
4827
4824
|
* PayPal Login with PayPal OAuth provider factory.
|
|
@@ -4839,7 +4836,7 @@ declare const paypal: (options: PayPalOptions) => {
|
|
|
4839
4836
|
redirectURI: string;
|
|
4840
4837
|
display?: string | undefined;
|
|
4841
4838
|
loginHint?: string | undefined;
|
|
4842
|
-
}): Promise<
|
|
4839
|
+
}): Promise<URL>;
|
|
4843
4840
|
validateAuthorizationCode: ({ code, redirectURI }: {
|
|
4844
4841
|
code: string;
|
|
4845
4842
|
redirectURI: string;
|
|
@@ -4916,7 +4913,7 @@ declare const zoom: (userOptions: ZoomOptions) => {
|
|
|
4916
4913
|
redirectURI: string;
|
|
4917
4914
|
display?: string | undefined;
|
|
4918
4915
|
loginHint?: string | undefined;
|
|
4919
|
-
}) => Promise<
|
|
4916
|
+
}) => Promise<URL>;
|
|
4920
4917
|
validateAuthorizationCode: ({ code, redirectURI, codeVerifier }: {
|
|
4921
4918
|
code: string;
|
|
4922
4919
|
redirectURI: string;
|