@descope/react-sdk 2.21.3 → 2.22.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/dist/cjs/constants.js +1 -1
- package/dist/esm/constants.js +1 -1
- package/dist/index.d.ts +74 -27
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/types/sdk.d.ts +216 -72
- package/dist/types/types.d.ts +2 -2
- package/package.json +11 -11
package/dist/types/sdk.d.ts
CHANGED
|
@@ -503,13 +503,17 @@ declare const createSdkWrapper: <P extends {
|
|
|
503
503
|
};
|
|
504
504
|
enchantedLink: {
|
|
505
505
|
verify: (token: string) => Promise<_1.SdkResponse<never>>;
|
|
506
|
-
signIn: (loginId: string, URI?: string,
|
|
507
|
-
|
|
506
|
+
signIn: (loginId: string, URI?: string, args_2?: _1.LoginOptions & {
|
|
507
|
+
providerId?: string;
|
|
508
|
+
}, token?: string) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
509
|
+
signUpOrIn: (loginId: string, URI?: string, args_2?: {
|
|
508
510
|
customClaims?: Record<string, any>;
|
|
509
511
|
templateId?: string;
|
|
510
512
|
templateOptions?: {
|
|
511
513
|
[x: string]: string;
|
|
512
514
|
};
|
|
515
|
+
} & {
|
|
516
|
+
providerId?: string;
|
|
513
517
|
}) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
514
518
|
signUp: (loginId: string, URI?: string, user?: {
|
|
515
519
|
email?: string;
|
|
@@ -518,12 +522,14 @@ declare const createSdkWrapper: <P extends {
|
|
|
518
522
|
middleName?: string;
|
|
519
523
|
familyName?: string;
|
|
520
524
|
phone?: string;
|
|
521
|
-
},
|
|
525
|
+
}, args_3?: {
|
|
522
526
|
customClaims?: Record<string, any>;
|
|
523
527
|
templateId?: string;
|
|
524
528
|
templateOptions?: {
|
|
525
529
|
[x: string]: string;
|
|
526
530
|
};
|
|
531
|
+
} & {
|
|
532
|
+
providerId?: string;
|
|
527
533
|
}) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
528
534
|
waitForSession: (pendingRef: string, config?: {
|
|
529
535
|
pollingIntervalMs: number;
|
|
@@ -589,12 +595,14 @@ declare const createSdkWrapper: <P extends {
|
|
|
589
595
|
update: (loginId: string, token?: string) => Promise<_1.SdkResponse<_1.TOTPResponse>>;
|
|
590
596
|
};
|
|
591
597
|
notp: {
|
|
592
|
-
signUpOrIn: (loginId?: string,
|
|
598
|
+
signUpOrIn: (loginId?: string, args_1?: {
|
|
593
599
|
customClaims?: Record<string, any>;
|
|
594
600
|
templateId?: string;
|
|
595
601
|
templateOptions?: {
|
|
596
602
|
[x: string]: string;
|
|
597
603
|
};
|
|
604
|
+
} & {
|
|
605
|
+
providerId?: string;
|
|
598
606
|
}) => Promise<_1.SdkResponse<{
|
|
599
607
|
pendingRef: string;
|
|
600
608
|
redirectUrl: string;
|
|
@@ -607,18 +615,22 @@ declare const createSdkWrapper: <P extends {
|
|
|
607
615
|
middleName?: string;
|
|
608
616
|
familyName?: string;
|
|
609
617
|
phone?: string;
|
|
610
|
-
},
|
|
618
|
+
}, args_2?: {
|
|
611
619
|
customClaims?: Record<string, any>;
|
|
612
620
|
templateId?: string;
|
|
613
621
|
templateOptions?: {
|
|
614
622
|
[x: string]: string;
|
|
615
623
|
};
|
|
624
|
+
} & {
|
|
625
|
+
providerId?: string;
|
|
616
626
|
}) => Promise<_1.SdkResponse<{
|
|
617
627
|
pendingRef: string;
|
|
618
628
|
redirectUrl: string;
|
|
619
629
|
image: string;
|
|
620
630
|
}>>;
|
|
621
|
-
signIn: (loginId?: string,
|
|
631
|
+
signIn: (loginId?: string, args_1?: _1.LoginOptions & {
|
|
632
|
+
providerId?: string;
|
|
633
|
+
}, token?: string) => Promise<_1.SdkResponse<{
|
|
622
634
|
pendingRef: string;
|
|
623
635
|
redirectUrl: string;
|
|
624
636
|
image: string;
|
|
@@ -636,14 +648,18 @@ declare const createSdkWrapper: <P extends {
|
|
|
636
648
|
middleName?: string;
|
|
637
649
|
familyName?: string;
|
|
638
650
|
phone?: string;
|
|
639
|
-
},
|
|
651
|
+
}, args_3?: {
|
|
640
652
|
customClaims?: Record<string, any>;
|
|
641
653
|
templateId?: string;
|
|
642
654
|
templateOptions?: {
|
|
643
655
|
[x: string]: string;
|
|
644
656
|
};
|
|
657
|
+
} & {
|
|
658
|
+
providerId?: string;
|
|
659
|
+
}) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
660
|
+
signIn: (loginId: string, password: string, args_2?: _1.LoginOptions & {
|
|
661
|
+
providerId?: string;
|
|
645
662
|
}) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
646
|
-
signIn: (loginId: string, password: string, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
647
663
|
sendReset: (loginId: string, redirectUrl?: string, templateOptions?: {
|
|
648
664
|
[x: string]: string;
|
|
649
665
|
}) => Promise<_1.SdkResponse<{
|
|
@@ -1133,13 +1149,17 @@ declare const createSdkWrapper: <P extends {
|
|
|
1133
1149
|
};
|
|
1134
1150
|
enchantedLink: {
|
|
1135
1151
|
verify: (token: string) => Promise<_1.SdkResponse<never>>;
|
|
1136
|
-
signIn: (loginId: string, URI?: string,
|
|
1137
|
-
|
|
1152
|
+
signIn: (loginId: string, URI?: string, args_2?: _1.LoginOptions & {
|
|
1153
|
+
providerId?: string;
|
|
1154
|
+
}, token?: string) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
1155
|
+
signUpOrIn: (loginId: string, URI?: string, args_2?: {
|
|
1138
1156
|
customClaims?: Record<string, any>;
|
|
1139
1157
|
templateId?: string;
|
|
1140
1158
|
templateOptions?: {
|
|
1141
1159
|
[x: string]: string;
|
|
1142
1160
|
};
|
|
1161
|
+
} & {
|
|
1162
|
+
providerId?: string;
|
|
1143
1163
|
}) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
1144
1164
|
signUp: (loginId: string, URI?: string, user?: {
|
|
1145
1165
|
email?: string;
|
|
@@ -1148,12 +1168,14 @@ declare const createSdkWrapper: <P extends {
|
|
|
1148
1168
|
middleName?: string;
|
|
1149
1169
|
familyName?: string;
|
|
1150
1170
|
phone?: string;
|
|
1151
|
-
},
|
|
1171
|
+
}, args_3?: {
|
|
1152
1172
|
customClaims?: Record<string, any>;
|
|
1153
1173
|
templateId?: string;
|
|
1154
1174
|
templateOptions?: {
|
|
1155
1175
|
[x: string]: string;
|
|
1156
1176
|
};
|
|
1177
|
+
} & {
|
|
1178
|
+
providerId?: string;
|
|
1157
1179
|
}) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
1158
1180
|
waitForSession: (pendingRef: string, config?: {
|
|
1159
1181
|
pollingIntervalMs: number;
|
|
@@ -1219,12 +1241,14 @@ declare const createSdkWrapper: <P extends {
|
|
|
1219
1241
|
update: (loginId: string, token?: string) => Promise<_1.SdkResponse<_1.TOTPResponse>>;
|
|
1220
1242
|
};
|
|
1221
1243
|
notp: {
|
|
1222
|
-
signUpOrIn: (loginId?: string,
|
|
1244
|
+
signUpOrIn: (loginId?: string, args_1?: {
|
|
1223
1245
|
customClaims?: Record<string, any>;
|
|
1224
1246
|
templateId?: string;
|
|
1225
1247
|
templateOptions?: {
|
|
1226
1248
|
[x: string]: string;
|
|
1227
1249
|
};
|
|
1250
|
+
} & {
|
|
1251
|
+
providerId?: string;
|
|
1228
1252
|
}) => Promise<_1.SdkResponse<{
|
|
1229
1253
|
pendingRef: string;
|
|
1230
1254
|
redirectUrl: string;
|
|
@@ -1237,18 +1261,22 @@ declare const createSdkWrapper: <P extends {
|
|
|
1237
1261
|
middleName?: string;
|
|
1238
1262
|
familyName?: string;
|
|
1239
1263
|
phone?: string;
|
|
1240
|
-
},
|
|
1264
|
+
}, args_2?: {
|
|
1241
1265
|
customClaims?: Record<string, any>;
|
|
1242
1266
|
templateId?: string;
|
|
1243
1267
|
templateOptions?: {
|
|
1244
1268
|
[x: string]: string;
|
|
1245
1269
|
};
|
|
1270
|
+
} & {
|
|
1271
|
+
providerId?: string;
|
|
1246
1272
|
}) => Promise<_1.SdkResponse<{
|
|
1247
1273
|
pendingRef: string;
|
|
1248
1274
|
redirectUrl: string;
|
|
1249
1275
|
image: string;
|
|
1250
1276
|
}>>;
|
|
1251
|
-
signIn: (loginId?: string,
|
|
1277
|
+
signIn: (loginId?: string, args_1?: _1.LoginOptions & {
|
|
1278
|
+
providerId?: string;
|
|
1279
|
+
}, token?: string) => Promise<_1.SdkResponse<{
|
|
1252
1280
|
pendingRef: string;
|
|
1253
1281
|
redirectUrl: string;
|
|
1254
1282
|
image: string;
|
|
@@ -1266,14 +1294,18 @@ declare const createSdkWrapper: <P extends {
|
|
|
1266
1294
|
middleName?: string;
|
|
1267
1295
|
familyName?: string;
|
|
1268
1296
|
phone?: string;
|
|
1269
|
-
},
|
|
1297
|
+
}, args_3?: {
|
|
1270
1298
|
customClaims?: Record<string, any>;
|
|
1271
1299
|
templateId?: string;
|
|
1272
1300
|
templateOptions?: {
|
|
1273
1301
|
[x: string]: string;
|
|
1274
1302
|
};
|
|
1303
|
+
} & {
|
|
1304
|
+
providerId?: string;
|
|
1305
|
+
}) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
1306
|
+
signIn: (loginId: string, password: string, args_2?: _1.LoginOptions & {
|
|
1307
|
+
providerId?: string;
|
|
1275
1308
|
}) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
1276
|
-
signIn: (loginId: string, password: string, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
1277
1309
|
sendReset: (loginId: string, redirectUrl?: string, templateOptions?: {
|
|
1278
1310
|
[x: string]: string;
|
|
1279
1311
|
}) => Promise<_1.SdkResponse<{
|
|
@@ -1763,13 +1795,17 @@ declare const createSdkWrapper: <P extends {
|
|
|
1763
1795
|
};
|
|
1764
1796
|
enchantedLink: {
|
|
1765
1797
|
verify: (token: string) => Promise<_1.SdkResponse<never>>;
|
|
1766
|
-
signIn: (loginId: string, URI?: string,
|
|
1767
|
-
|
|
1798
|
+
signIn: (loginId: string, URI?: string, args_2?: _1.LoginOptions & {
|
|
1799
|
+
providerId?: string;
|
|
1800
|
+
}, token?: string) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
1801
|
+
signUpOrIn: (loginId: string, URI?: string, args_2?: {
|
|
1768
1802
|
customClaims?: Record<string, any>;
|
|
1769
1803
|
templateId?: string;
|
|
1770
1804
|
templateOptions?: {
|
|
1771
1805
|
[x: string]: string;
|
|
1772
1806
|
};
|
|
1807
|
+
} & {
|
|
1808
|
+
providerId?: string;
|
|
1773
1809
|
}) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
1774
1810
|
signUp: (loginId: string, URI?: string, user?: {
|
|
1775
1811
|
email?: string;
|
|
@@ -1778,12 +1814,14 @@ declare const createSdkWrapper: <P extends {
|
|
|
1778
1814
|
middleName?: string;
|
|
1779
1815
|
familyName?: string;
|
|
1780
1816
|
phone?: string;
|
|
1781
|
-
},
|
|
1817
|
+
}, args_3?: {
|
|
1782
1818
|
customClaims?: Record<string, any>;
|
|
1783
1819
|
templateId?: string;
|
|
1784
1820
|
templateOptions?: {
|
|
1785
1821
|
[x: string]: string;
|
|
1786
1822
|
};
|
|
1823
|
+
} & {
|
|
1824
|
+
providerId?: string;
|
|
1787
1825
|
}) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
1788
1826
|
waitForSession: (pendingRef: string, config?: {
|
|
1789
1827
|
pollingIntervalMs: number;
|
|
@@ -1849,12 +1887,14 @@ declare const createSdkWrapper: <P extends {
|
|
|
1849
1887
|
update: (loginId: string, token?: string) => Promise<_1.SdkResponse<_1.TOTPResponse>>;
|
|
1850
1888
|
};
|
|
1851
1889
|
notp: {
|
|
1852
|
-
signUpOrIn: (loginId?: string,
|
|
1890
|
+
signUpOrIn: (loginId?: string, args_1?: {
|
|
1853
1891
|
customClaims?: Record<string, any>;
|
|
1854
1892
|
templateId?: string;
|
|
1855
1893
|
templateOptions?: {
|
|
1856
1894
|
[x: string]: string;
|
|
1857
1895
|
};
|
|
1896
|
+
} & {
|
|
1897
|
+
providerId?: string;
|
|
1858
1898
|
}) => Promise<_1.SdkResponse<{
|
|
1859
1899
|
pendingRef: string;
|
|
1860
1900
|
redirectUrl: string;
|
|
@@ -1867,18 +1907,22 @@ declare const createSdkWrapper: <P extends {
|
|
|
1867
1907
|
middleName?: string;
|
|
1868
1908
|
familyName?: string;
|
|
1869
1909
|
phone?: string;
|
|
1870
|
-
},
|
|
1910
|
+
}, args_2?: {
|
|
1871
1911
|
customClaims?: Record<string, any>;
|
|
1872
1912
|
templateId?: string;
|
|
1873
1913
|
templateOptions?: {
|
|
1874
1914
|
[x: string]: string;
|
|
1875
1915
|
};
|
|
1916
|
+
} & {
|
|
1917
|
+
providerId?: string;
|
|
1876
1918
|
}) => Promise<_1.SdkResponse<{
|
|
1877
1919
|
pendingRef: string;
|
|
1878
1920
|
redirectUrl: string;
|
|
1879
1921
|
image: string;
|
|
1880
1922
|
}>>;
|
|
1881
|
-
signIn: (loginId?: string,
|
|
1923
|
+
signIn: (loginId?: string, args_1?: _1.LoginOptions & {
|
|
1924
|
+
providerId?: string;
|
|
1925
|
+
}, token?: string) => Promise<_1.SdkResponse<{
|
|
1882
1926
|
pendingRef: string;
|
|
1883
1927
|
redirectUrl: string;
|
|
1884
1928
|
image: string;
|
|
@@ -1896,14 +1940,18 @@ declare const createSdkWrapper: <P extends {
|
|
|
1896
1940
|
middleName?: string;
|
|
1897
1941
|
familyName?: string;
|
|
1898
1942
|
phone?: string;
|
|
1899
|
-
},
|
|
1943
|
+
}, args_3?: {
|
|
1900
1944
|
customClaims?: Record<string, any>;
|
|
1901
1945
|
templateId?: string;
|
|
1902
1946
|
templateOptions?: {
|
|
1903
1947
|
[x: string]: string;
|
|
1904
1948
|
};
|
|
1949
|
+
} & {
|
|
1950
|
+
providerId?: string;
|
|
1951
|
+
}) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
1952
|
+
signIn: (loginId: string, password: string, args_2?: _1.LoginOptions & {
|
|
1953
|
+
providerId?: string;
|
|
1905
1954
|
}) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
1906
|
-
signIn: (loginId: string, password: string, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
1907
1955
|
sendReset: (loginId: string, redirectUrl?: string, templateOptions?: {
|
|
1908
1956
|
[x: string]: string;
|
|
1909
1957
|
}) => Promise<_1.SdkResponse<{
|
|
@@ -2406,13 +2454,17 @@ export declare const createTempSdk: () => ((({
|
|
|
2406
2454
|
};
|
|
2407
2455
|
enchantedLink: {
|
|
2408
2456
|
verify: (token: string) => Promise<_1.SdkResponse<never>>;
|
|
2409
|
-
signIn: (loginId: string, URI?: string,
|
|
2410
|
-
|
|
2457
|
+
signIn: (loginId: string, URI?: string, args_2?: _1.LoginOptions & {
|
|
2458
|
+
providerId?: string;
|
|
2459
|
+
}, token?: string) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
2460
|
+
signUpOrIn: (loginId: string, URI?: string, args_2?: {
|
|
2411
2461
|
customClaims?: Record<string, any>;
|
|
2412
2462
|
templateId?: string;
|
|
2413
2463
|
templateOptions?: {
|
|
2414
2464
|
[x: string]: string;
|
|
2415
2465
|
};
|
|
2466
|
+
} & {
|
|
2467
|
+
providerId?: string;
|
|
2416
2468
|
}) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
2417
2469
|
signUp: (loginId: string, URI?: string, user?: {
|
|
2418
2470
|
email?: string;
|
|
@@ -2421,12 +2473,14 @@ export declare const createTempSdk: () => ((({
|
|
|
2421
2473
|
middleName?: string;
|
|
2422
2474
|
familyName?: string;
|
|
2423
2475
|
phone?: string;
|
|
2424
|
-
},
|
|
2476
|
+
}, args_3?: {
|
|
2425
2477
|
customClaims?: Record<string, any>;
|
|
2426
2478
|
templateId?: string;
|
|
2427
2479
|
templateOptions?: {
|
|
2428
2480
|
[x: string]: string;
|
|
2429
2481
|
};
|
|
2482
|
+
} & {
|
|
2483
|
+
providerId?: string;
|
|
2430
2484
|
}) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
2431
2485
|
waitForSession: (pendingRef: string, config?: {
|
|
2432
2486
|
pollingIntervalMs: number;
|
|
@@ -2492,12 +2546,14 @@ export declare const createTempSdk: () => ((({
|
|
|
2492
2546
|
update: (loginId: string, token?: string) => Promise<_1.SdkResponse<_1.TOTPResponse>>;
|
|
2493
2547
|
};
|
|
2494
2548
|
notp: {
|
|
2495
|
-
signUpOrIn: (loginId?: string,
|
|
2549
|
+
signUpOrIn: (loginId?: string, args_1?: {
|
|
2496
2550
|
customClaims?: Record<string, any>;
|
|
2497
2551
|
templateId?: string;
|
|
2498
2552
|
templateOptions?: {
|
|
2499
2553
|
[x: string]: string;
|
|
2500
2554
|
};
|
|
2555
|
+
} & {
|
|
2556
|
+
providerId?: string;
|
|
2501
2557
|
}) => Promise<_1.SdkResponse<{
|
|
2502
2558
|
pendingRef: string;
|
|
2503
2559
|
redirectUrl: string;
|
|
@@ -2510,18 +2566,22 @@ export declare const createTempSdk: () => ((({
|
|
|
2510
2566
|
middleName?: string;
|
|
2511
2567
|
familyName?: string;
|
|
2512
2568
|
phone?: string;
|
|
2513
|
-
},
|
|
2569
|
+
}, args_2?: {
|
|
2514
2570
|
customClaims?: Record<string, any>;
|
|
2515
2571
|
templateId?: string;
|
|
2516
2572
|
templateOptions?: {
|
|
2517
2573
|
[x: string]: string;
|
|
2518
2574
|
};
|
|
2575
|
+
} & {
|
|
2576
|
+
providerId?: string;
|
|
2519
2577
|
}) => Promise<_1.SdkResponse<{
|
|
2520
2578
|
pendingRef: string;
|
|
2521
2579
|
redirectUrl: string;
|
|
2522
2580
|
image: string;
|
|
2523
2581
|
}>>;
|
|
2524
|
-
signIn: (loginId?: string,
|
|
2582
|
+
signIn: (loginId?: string, args_1?: _1.LoginOptions & {
|
|
2583
|
+
providerId?: string;
|
|
2584
|
+
}, token?: string) => Promise<_1.SdkResponse<{
|
|
2525
2585
|
pendingRef: string;
|
|
2526
2586
|
redirectUrl: string;
|
|
2527
2587
|
image: string;
|
|
@@ -2539,14 +2599,18 @@ export declare const createTempSdk: () => ((({
|
|
|
2539
2599
|
middleName?: string;
|
|
2540
2600
|
familyName?: string;
|
|
2541
2601
|
phone?: string;
|
|
2542
|
-
},
|
|
2602
|
+
}, args_3?: {
|
|
2543
2603
|
customClaims?: Record<string, any>;
|
|
2544
2604
|
templateId?: string;
|
|
2545
2605
|
templateOptions?: {
|
|
2546
2606
|
[x: string]: string;
|
|
2547
2607
|
};
|
|
2608
|
+
} & {
|
|
2609
|
+
providerId?: string;
|
|
2610
|
+
}) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
2611
|
+
signIn: (loginId: string, password: string, args_2?: _1.LoginOptions & {
|
|
2612
|
+
providerId?: string;
|
|
2548
2613
|
}) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
2549
|
-
signIn: (loginId: string, password: string, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
2550
2614
|
sendReset: (loginId: string, redirectUrl?: string, templateOptions?: {
|
|
2551
2615
|
[x: string]: string;
|
|
2552
2616
|
}) => Promise<_1.SdkResponse<{
|
|
@@ -3036,13 +3100,17 @@ export declare const createTempSdk: () => ((({
|
|
|
3036
3100
|
};
|
|
3037
3101
|
enchantedLink: {
|
|
3038
3102
|
verify: (token: string) => Promise<_1.SdkResponse<never>>;
|
|
3039
|
-
signIn: (loginId: string, URI?: string,
|
|
3040
|
-
|
|
3103
|
+
signIn: (loginId: string, URI?: string, args_2?: _1.LoginOptions & {
|
|
3104
|
+
providerId?: string;
|
|
3105
|
+
}, token?: string) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
3106
|
+
signUpOrIn: (loginId: string, URI?: string, args_2?: {
|
|
3041
3107
|
customClaims?: Record<string, any>;
|
|
3042
3108
|
templateId?: string;
|
|
3043
3109
|
templateOptions?: {
|
|
3044
3110
|
[x: string]: string;
|
|
3045
3111
|
};
|
|
3112
|
+
} & {
|
|
3113
|
+
providerId?: string;
|
|
3046
3114
|
}) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
3047
3115
|
signUp: (loginId: string, URI?: string, user?: {
|
|
3048
3116
|
email?: string;
|
|
@@ -3051,12 +3119,14 @@ export declare const createTempSdk: () => ((({
|
|
|
3051
3119
|
middleName?: string;
|
|
3052
3120
|
familyName?: string;
|
|
3053
3121
|
phone?: string;
|
|
3054
|
-
},
|
|
3122
|
+
}, args_3?: {
|
|
3055
3123
|
customClaims?: Record<string, any>;
|
|
3056
3124
|
templateId?: string;
|
|
3057
3125
|
templateOptions?: {
|
|
3058
3126
|
[x: string]: string;
|
|
3059
3127
|
};
|
|
3128
|
+
} & {
|
|
3129
|
+
providerId?: string;
|
|
3060
3130
|
}) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
3061
3131
|
waitForSession: (pendingRef: string, config?: {
|
|
3062
3132
|
pollingIntervalMs: number;
|
|
@@ -3122,12 +3192,14 @@ export declare const createTempSdk: () => ((({
|
|
|
3122
3192
|
update: (loginId: string, token?: string) => Promise<_1.SdkResponse<_1.TOTPResponse>>;
|
|
3123
3193
|
};
|
|
3124
3194
|
notp: {
|
|
3125
|
-
signUpOrIn: (loginId?: string,
|
|
3195
|
+
signUpOrIn: (loginId?: string, args_1?: {
|
|
3126
3196
|
customClaims?: Record<string, any>;
|
|
3127
3197
|
templateId?: string;
|
|
3128
3198
|
templateOptions?: {
|
|
3129
3199
|
[x: string]: string;
|
|
3130
3200
|
};
|
|
3201
|
+
} & {
|
|
3202
|
+
providerId?: string;
|
|
3131
3203
|
}) => Promise<_1.SdkResponse<{
|
|
3132
3204
|
pendingRef: string;
|
|
3133
3205
|
redirectUrl: string;
|
|
@@ -3140,18 +3212,22 @@ export declare const createTempSdk: () => ((({
|
|
|
3140
3212
|
middleName?: string;
|
|
3141
3213
|
familyName?: string;
|
|
3142
3214
|
phone?: string;
|
|
3143
|
-
},
|
|
3215
|
+
}, args_2?: {
|
|
3144
3216
|
customClaims?: Record<string, any>;
|
|
3145
3217
|
templateId?: string;
|
|
3146
3218
|
templateOptions?: {
|
|
3147
3219
|
[x: string]: string;
|
|
3148
3220
|
};
|
|
3221
|
+
} & {
|
|
3222
|
+
providerId?: string;
|
|
3149
3223
|
}) => Promise<_1.SdkResponse<{
|
|
3150
3224
|
pendingRef: string;
|
|
3151
3225
|
redirectUrl: string;
|
|
3152
3226
|
image: string;
|
|
3153
3227
|
}>>;
|
|
3154
|
-
signIn: (loginId?: string,
|
|
3228
|
+
signIn: (loginId?: string, args_1?: _1.LoginOptions & {
|
|
3229
|
+
providerId?: string;
|
|
3230
|
+
}, token?: string) => Promise<_1.SdkResponse<{
|
|
3155
3231
|
pendingRef: string;
|
|
3156
3232
|
redirectUrl: string;
|
|
3157
3233
|
image: string;
|
|
@@ -3169,14 +3245,18 @@ export declare const createTempSdk: () => ((({
|
|
|
3169
3245
|
middleName?: string;
|
|
3170
3246
|
familyName?: string;
|
|
3171
3247
|
phone?: string;
|
|
3172
|
-
},
|
|
3248
|
+
}, args_3?: {
|
|
3173
3249
|
customClaims?: Record<string, any>;
|
|
3174
3250
|
templateId?: string;
|
|
3175
3251
|
templateOptions?: {
|
|
3176
3252
|
[x: string]: string;
|
|
3177
3253
|
};
|
|
3254
|
+
} & {
|
|
3255
|
+
providerId?: string;
|
|
3256
|
+
}) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
3257
|
+
signIn: (loginId: string, password: string, args_2?: _1.LoginOptions & {
|
|
3258
|
+
providerId?: string;
|
|
3178
3259
|
}) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
3179
|
-
signIn: (loginId: string, password: string, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
3180
3260
|
sendReset: (loginId: string, redirectUrl?: string, templateOptions?: {
|
|
3181
3261
|
[x: string]: string;
|
|
3182
3262
|
}) => Promise<_1.SdkResponse<{
|
|
@@ -3666,13 +3746,17 @@ export declare const createTempSdk: () => ((({
|
|
|
3666
3746
|
};
|
|
3667
3747
|
enchantedLink: {
|
|
3668
3748
|
verify: (token: string) => Promise<_1.SdkResponse<never>>;
|
|
3669
|
-
signIn: (loginId: string, URI?: string,
|
|
3670
|
-
|
|
3749
|
+
signIn: (loginId: string, URI?: string, args_2?: _1.LoginOptions & {
|
|
3750
|
+
providerId?: string;
|
|
3751
|
+
}, token?: string) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
3752
|
+
signUpOrIn: (loginId: string, URI?: string, args_2?: {
|
|
3671
3753
|
customClaims?: Record<string, any>;
|
|
3672
3754
|
templateId?: string;
|
|
3673
3755
|
templateOptions?: {
|
|
3674
3756
|
[x: string]: string;
|
|
3675
3757
|
};
|
|
3758
|
+
} & {
|
|
3759
|
+
providerId?: string;
|
|
3676
3760
|
}) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
3677
3761
|
signUp: (loginId: string, URI?: string, user?: {
|
|
3678
3762
|
email?: string;
|
|
@@ -3681,12 +3765,14 @@ export declare const createTempSdk: () => ((({
|
|
|
3681
3765
|
middleName?: string;
|
|
3682
3766
|
familyName?: string;
|
|
3683
3767
|
phone?: string;
|
|
3684
|
-
},
|
|
3768
|
+
}, args_3?: {
|
|
3685
3769
|
customClaims?: Record<string, any>;
|
|
3686
3770
|
templateId?: string;
|
|
3687
3771
|
templateOptions?: {
|
|
3688
3772
|
[x: string]: string;
|
|
3689
3773
|
};
|
|
3774
|
+
} & {
|
|
3775
|
+
providerId?: string;
|
|
3690
3776
|
}) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
3691
3777
|
waitForSession: (pendingRef: string, config?: {
|
|
3692
3778
|
pollingIntervalMs: number;
|
|
@@ -3752,12 +3838,14 @@ export declare const createTempSdk: () => ((({
|
|
|
3752
3838
|
update: (loginId: string, token?: string) => Promise<_1.SdkResponse<_1.TOTPResponse>>;
|
|
3753
3839
|
};
|
|
3754
3840
|
notp: {
|
|
3755
|
-
signUpOrIn: (loginId?: string,
|
|
3841
|
+
signUpOrIn: (loginId?: string, args_1?: {
|
|
3756
3842
|
customClaims?: Record<string, any>;
|
|
3757
3843
|
templateId?: string;
|
|
3758
3844
|
templateOptions?: {
|
|
3759
3845
|
[x: string]: string;
|
|
3760
3846
|
};
|
|
3847
|
+
} & {
|
|
3848
|
+
providerId?: string;
|
|
3761
3849
|
}) => Promise<_1.SdkResponse<{
|
|
3762
3850
|
pendingRef: string;
|
|
3763
3851
|
redirectUrl: string;
|
|
@@ -3770,18 +3858,22 @@ export declare const createTempSdk: () => ((({
|
|
|
3770
3858
|
middleName?: string;
|
|
3771
3859
|
familyName?: string;
|
|
3772
3860
|
phone?: string;
|
|
3773
|
-
},
|
|
3861
|
+
}, args_2?: {
|
|
3774
3862
|
customClaims?: Record<string, any>;
|
|
3775
3863
|
templateId?: string;
|
|
3776
3864
|
templateOptions?: {
|
|
3777
3865
|
[x: string]: string;
|
|
3778
3866
|
};
|
|
3867
|
+
} & {
|
|
3868
|
+
providerId?: string;
|
|
3779
3869
|
}) => Promise<_1.SdkResponse<{
|
|
3780
3870
|
pendingRef: string;
|
|
3781
3871
|
redirectUrl: string;
|
|
3782
3872
|
image: string;
|
|
3783
3873
|
}>>;
|
|
3784
|
-
signIn: (loginId?: string,
|
|
3874
|
+
signIn: (loginId?: string, args_1?: _1.LoginOptions & {
|
|
3875
|
+
providerId?: string;
|
|
3876
|
+
}, token?: string) => Promise<_1.SdkResponse<{
|
|
3785
3877
|
pendingRef: string;
|
|
3786
3878
|
redirectUrl: string;
|
|
3787
3879
|
image: string;
|
|
@@ -3799,14 +3891,18 @@ export declare const createTempSdk: () => ((({
|
|
|
3799
3891
|
middleName?: string;
|
|
3800
3892
|
familyName?: string;
|
|
3801
3893
|
phone?: string;
|
|
3802
|
-
},
|
|
3894
|
+
}, args_3?: {
|
|
3803
3895
|
customClaims?: Record<string, any>;
|
|
3804
3896
|
templateId?: string;
|
|
3805
3897
|
templateOptions?: {
|
|
3806
3898
|
[x: string]: string;
|
|
3807
3899
|
};
|
|
3900
|
+
} & {
|
|
3901
|
+
providerId?: string;
|
|
3902
|
+
}) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
3903
|
+
signIn: (loginId: string, password: string, args_2?: _1.LoginOptions & {
|
|
3904
|
+
providerId?: string;
|
|
3808
3905
|
}) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
3809
|
-
signIn: (loginId: string, password: string, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
3810
3906
|
sendReset: (loginId: string, redirectUrl?: string, templateOptions?: {
|
|
3811
3907
|
[x: string]: string;
|
|
3812
3908
|
}) => Promise<_1.SdkResponse<{
|
|
@@ -4317,13 +4413,17 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4317
4413
|
};
|
|
4318
4414
|
enchantedLink: {
|
|
4319
4415
|
verify: (token: string) => Promise<_1.SdkResponse<never>>;
|
|
4320
|
-
signIn: (loginId: string, URI?: string,
|
|
4321
|
-
|
|
4416
|
+
signIn: (loginId: string, URI?: string, args_2?: _1.LoginOptions & {
|
|
4417
|
+
providerId?: string;
|
|
4418
|
+
}, token?: string) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
4419
|
+
signUpOrIn: (loginId: string, URI?: string, args_2?: {
|
|
4322
4420
|
customClaims?: Record<string, any>;
|
|
4323
4421
|
templateId?: string;
|
|
4324
4422
|
templateOptions?: {
|
|
4325
4423
|
[x: string]: string;
|
|
4326
4424
|
};
|
|
4425
|
+
} & {
|
|
4426
|
+
providerId?: string;
|
|
4327
4427
|
}) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
4328
4428
|
signUp: (loginId: string, URI?: string, user?: {
|
|
4329
4429
|
email?: string;
|
|
@@ -4332,12 +4432,14 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4332
4432
|
middleName?: string;
|
|
4333
4433
|
familyName?: string;
|
|
4334
4434
|
phone?: string;
|
|
4335
|
-
},
|
|
4435
|
+
}, args_3?: {
|
|
4336
4436
|
customClaims?: Record<string, any>;
|
|
4337
4437
|
templateId?: string;
|
|
4338
4438
|
templateOptions?: {
|
|
4339
4439
|
[x: string]: string;
|
|
4340
4440
|
};
|
|
4441
|
+
} & {
|
|
4442
|
+
providerId?: string;
|
|
4341
4443
|
}) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
4342
4444
|
waitForSession: (pendingRef: string, config?: {
|
|
4343
4445
|
pollingIntervalMs: number;
|
|
@@ -4403,12 +4505,14 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4403
4505
|
update: (loginId: string, token?: string) => Promise<_1.SdkResponse<_1.TOTPResponse>>;
|
|
4404
4506
|
};
|
|
4405
4507
|
notp: {
|
|
4406
|
-
signUpOrIn: (loginId?: string,
|
|
4508
|
+
signUpOrIn: (loginId?: string, args_1?: {
|
|
4407
4509
|
customClaims?: Record<string, any>;
|
|
4408
4510
|
templateId?: string;
|
|
4409
4511
|
templateOptions?: {
|
|
4410
4512
|
[x: string]: string;
|
|
4411
4513
|
};
|
|
4514
|
+
} & {
|
|
4515
|
+
providerId?: string;
|
|
4412
4516
|
}) => Promise<_1.SdkResponse<{
|
|
4413
4517
|
pendingRef: string;
|
|
4414
4518
|
redirectUrl: string;
|
|
@@ -4421,18 +4525,22 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4421
4525
|
middleName?: string;
|
|
4422
4526
|
familyName?: string;
|
|
4423
4527
|
phone?: string;
|
|
4424
|
-
},
|
|
4528
|
+
}, args_2?: {
|
|
4425
4529
|
customClaims?: Record<string, any>;
|
|
4426
4530
|
templateId?: string;
|
|
4427
4531
|
templateOptions?: {
|
|
4428
4532
|
[x: string]: string;
|
|
4429
4533
|
};
|
|
4534
|
+
} & {
|
|
4535
|
+
providerId?: string;
|
|
4430
4536
|
}) => Promise<_1.SdkResponse<{
|
|
4431
4537
|
pendingRef: string;
|
|
4432
4538
|
redirectUrl: string;
|
|
4433
4539
|
image: string;
|
|
4434
4540
|
}>>;
|
|
4435
|
-
signIn: (loginId?: string,
|
|
4541
|
+
signIn: (loginId?: string, args_1?: _1.LoginOptions & {
|
|
4542
|
+
providerId?: string;
|
|
4543
|
+
}, token?: string) => Promise<_1.SdkResponse<{
|
|
4436
4544
|
pendingRef: string;
|
|
4437
4545
|
redirectUrl: string;
|
|
4438
4546
|
image: string;
|
|
@@ -4450,14 +4558,18 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4450
4558
|
middleName?: string;
|
|
4451
4559
|
familyName?: string;
|
|
4452
4560
|
phone?: string;
|
|
4453
|
-
},
|
|
4561
|
+
}, args_3?: {
|
|
4454
4562
|
customClaims?: Record<string, any>;
|
|
4455
4563
|
templateId?: string;
|
|
4456
4564
|
templateOptions?: {
|
|
4457
4565
|
[x: string]: string;
|
|
4458
4566
|
};
|
|
4567
|
+
} & {
|
|
4568
|
+
providerId?: string;
|
|
4569
|
+
}) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
4570
|
+
signIn: (loginId: string, password: string, args_2?: _1.LoginOptions & {
|
|
4571
|
+
providerId?: string;
|
|
4459
4572
|
}) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
4460
|
-
signIn: (loginId: string, password: string, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
4461
4573
|
sendReset: (loginId: string, redirectUrl?: string, templateOptions?: {
|
|
4462
4574
|
[x: string]: string;
|
|
4463
4575
|
}) => Promise<_1.SdkResponse<{
|
|
@@ -4947,13 +5059,17 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4947
5059
|
};
|
|
4948
5060
|
enchantedLink: {
|
|
4949
5061
|
verify: (token: string) => Promise<_1.SdkResponse<never>>;
|
|
4950
|
-
signIn: (loginId: string, URI?: string,
|
|
4951
|
-
|
|
5062
|
+
signIn: (loginId: string, URI?: string, args_2?: _1.LoginOptions & {
|
|
5063
|
+
providerId?: string;
|
|
5064
|
+
}, token?: string) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
5065
|
+
signUpOrIn: (loginId: string, URI?: string, args_2?: {
|
|
4952
5066
|
customClaims?: Record<string, any>;
|
|
4953
5067
|
templateId?: string;
|
|
4954
5068
|
templateOptions?: {
|
|
4955
5069
|
[x: string]: string;
|
|
4956
5070
|
};
|
|
5071
|
+
} & {
|
|
5072
|
+
providerId?: string;
|
|
4957
5073
|
}) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
4958
5074
|
signUp: (loginId: string, URI?: string, user?: {
|
|
4959
5075
|
email?: string;
|
|
@@ -4962,12 +5078,14 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4962
5078
|
middleName?: string;
|
|
4963
5079
|
familyName?: string;
|
|
4964
5080
|
phone?: string;
|
|
4965
|
-
},
|
|
5081
|
+
}, args_3?: {
|
|
4966
5082
|
customClaims?: Record<string, any>;
|
|
4967
5083
|
templateId?: string;
|
|
4968
5084
|
templateOptions?: {
|
|
4969
5085
|
[x: string]: string;
|
|
4970
5086
|
};
|
|
5087
|
+
} & {
|
|
5088
|
+
providerId?: string;
|
|
4971
5089
|
}) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
4972
5090
|
waitForSession: (pendingRef: string, config?: {
|
|
4973
5091
|
pollingIntervalMs: number;
|
|
@@ -5033,12 +5151,14 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5033
5151
|
update: (loginId: string, token?: string) => Promise<_1.SdkResponse<_1.TOTPResponse>>;
|
|
5034
5152
|
};
|
|
5035
5153
|
notp: {
|
|
5036
|
-
signUpOrIn: (loginId?: string,
|
|
5154
|
+
signUpOrIn: (loginId?: string, args_1?: {
|
|
5037
5155
|
customClaims?: Record<string, any>;
|
|
5038
5156
|
templateId?: string;
|
|
5039
5157
|
templateOptions?: {
|
|
5040
5158
|
[x: string]: string;
|
|
5041
5159
|
};
|
|
5160
|
+
} & {
|
|
5161
|
+
providerId?: string;
|
|
5042
5162
|
}) => Promise<_1.SdkResponse<{
|
|
5043
5163
|
pendingRef: string;
|
|
5044
5164
|
redirectUrl: string;
|
|
@@ -5051,18 +5171,22 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5051
5171
|
middleName?: string;
|
|
5052
5172
|
familyName?: string;
|
|
5053
5173
|
phone?: string;
|
|
5054
|
-
},
|
|
5174
|
+
}, args_2?: {
|
|
5055
5175
|
customClaims?: Record<string, any>;
|
|
5056
5176
|
templateId?: string;
|
|
5057
5177
|
templateOptions?: {
|
|
5058
5178
|
[x: string]: string;
|
|
5059
5179
|
};
|
|
5180
|
+
} & {
|
|
5181
|
+
providerId?: string;
|
|
5060
5182
|
}) => Promise<_1.SdkResponse<{
|
|
5061
5183
|
pendingRef: string;
|
|
5062
5184
|
redirectUrl: string;
|
|
5063
5185
|
image: string;
|
|
5064
5186
|
}>>;
|
|
5065
|
-
signIn: (loginId?: string,
|
|
5187
|
+
signIn: (loginId?: string, args_1?: _1.LoginOptions & {
|
|
5188
|
+
providerId?: string;
|
|
5189
|
+
}, token?: string) => Promise<_1.SdkResponse<{
|
|
5066
5190
|
pendingRef: string;
|
|
5067
5191
|
redirectUrl: string;
|
|
5068
5192
|
image: string;
|
|
@@ -5080,14 +5204,18 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5080
5204
|
middleName?: string;
|
|
5081
5205
|
familyName?: string;
|
|
5082
5206
|
phone?: string;
|
|
5083
|
-
},
|
|
5207
|
+
}, args_3?: {
|
|
5084
5208
|
customClaims?: Record<string, any>;
|
|
5085
5209
|
templateId?: string;
|
|
5086
5210
|
templateOptions?: {
|
|
5087
5211
|
[x: string]: string;
|
|
5088
5212
|
};
|
|
5213
|
+
} & {
|
|
5214
|
+
providerId?: string;
|
|
5215
|
+
}) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
5216
|
+
signIn: (loginId: string, password: string, args_2?: _1.LoginOptions & {
|
|
5217
|
+
providerId?: string;
|
|
5089
5218
|
}) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
5090
|
-
signIn: (loginId: string, password: string, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
5091
5219
|
sendReset: (loginId: string, redirectUrl?: string, templateOptions?: {
|
|
5092
5220
|
[x: string]: string;
|
|
5093
5221
|
}) => Promise<_1.SdkResponse<{
|
|
@@ -5577,13 +5705,17 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5577
5705
|
};
|
|
5578
5706
|
enchantedLink: {
|
|
5579
5707
|
verify: (token: string) => Promise<_1.SdkResponse<never>>;
|
|
5580
|
-
signIn: (loginId: string, URI?: string,
|
|
5581
|
-
|
|
5708
|
+
signIn: (loginId: string, URI?: string, args_2?: _1.LoginOptions & {
|
|
5709
|
+
providerId?: string;
|
|
5710
|
+
}, token?: string) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
5711
|
+
signUpOrIn: (loginId: string, URI?: string, args_2?: {
|
|
5582
5712
|
customClaims?: Record<string, any>;
|
|
5583
5713
|
templateId?: string;
|
|
5584
5714
|
templateOptions?: {
|
|
5585
5715
|
[x: string]: string;
|
|
5586
5716
|
};
|
|
5717
|
+
} & {
|
|
5718
|
+
providerId?: string;
|
|
5587
5719
|
}) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
5588
5720
|
signUp: (loginId: string, URI?: string, user?: {
|
|
5589
5721
|
email?: string;
|
|
@@ -5592,12 +5724,14 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5592
5724
|
middleName?: string;
|
|
5593
5725
|
familyName?: string;
|
|
5594
5726
|
phone?: string;
|
|
5595
|
-
},
|
|
5727
|
+
}, args_3?: {
|
|
5596
5728
|
customClaims?: Record<string, any>;
|
|
5597
5729
|
templateId?: string;
|
|
5598
5730
|
templateOptions?: {
|
|
5599
5731
|
[x: string]: string;
|
|
5600
5732
|
};
|
|
5733
|
+
} & {
|
|
5734
|
+
providerId?: string;
|
|
5601
5735
|
}) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
5602
5736
|
waitForSession: (pendingRef: string, config?: {
|
|
5603
5737
|
pollingIntervalMs: number;
|
|
@@ -5663,12 +5797,14 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5663
5797
|
update: (loginId: string, token?: string) => Promise<_1.SdkResponse<_1.TOTPResponse>>;
|
|
5664
5798
|
};
|
|
5665
5799
|
notp: {
|
|
5666
|
-
signUpOrIn: (loginId?: string,
|
|
5800
|
+
signUpOrIn: (loginId?: string, args_1?: {
|
|
5667
5801
|
customClaims?: Record<string, any>;
|
|
5668
5802
|
templateId?: string;
|
|
5669
5803
|
templateOptions?: {
|
|
5670
5804
|
[x: string]: string;
|
|
5671
5805
|
};
|
|
5806
|
+
} & {
|
|
5807
|
+
providerId?: string;
|
|
5672
5808
|
}) => Promise<_1.SdkResponse<{
|
|
5673
5809
|
pendingRef: string;
|
|
5674
5810
|
redirectUrl: string;
|
|
@@ -5681,18 +5817,22 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5681
5817
|
middleName?: string;
|
|
5682
5818
|
familyName?: string;
|
|
5683
5819
|
phone?: string;
|
|
5684
|
-
},
|
|
5820
|
+
}, args_2?: {
|
|
5685
5821
|
customClaims?: Record<string, any>;
|
|
5686
5822
|
templateId?: string;
|
|
5687
5823
|
templateOptions?: {
|
|
5688
5824
|
[x: string]: string;
|
|
5689
5825
|
};
|
|
5826
|
+
} & {
|
|
5827
|
+
providerId?: string;
|
|
5690
5828
|
}) => Promise<_1.SdkResponse<{
|
|
5691
5829
|
pendingRef: string;
|
|
5692
5830
|
redirectUrl: string;
|
|
5693
5831
|
image: string;
|
|
5694
5832
|
}>>;
|
|
5695
|
-
signIn: (loginId?: string,
|
|
5833
|
+
signIn: (loginId?: string, args_1?: _1.LoginOptions & {
|
|
5834
|
+
providerId?: string;
|
|
5835
|
+
}, token?: string) => Promise<_1.SdkResponse<{
|
|
5696
5836
|
pendingRef: string;
|
|
5697
5837
|
redirectUrl: string;
|
|
5698
5838
|
image: string;
|
|
@@ -5710,14 +5850,18 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5710
5850
|
middleName?: string;
|
|
5711
5851
|
familyName?: string;
|
|
5712
5852
|
phone?: string;
|
|
5713
|
-
},
|
|
5853
|
+
}, args_3?: {
|
|
5714
5854
|
customClaims?: Record<string, any>;
|
|
5715
5855
|
templateId?: string;
|
|
5716
5856
|
templateOptions?: {
|
|
5717
5857
|
[x: string]: string;
|
|
5718
5858
|
};
|
|
5859
|
+
} & {
|
|
5860
|
+
providerId?: string;
|
|
5861
|
+
}) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
5862
|
+
signIn: (loginId: string, password: string, args_2?: _1.LoginOptions & {
|
|
5863
|
+
providerId?: string;
|
|
5719
5864
|
}) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
5720
|
-
signIn: (loginId: string, password: string, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
5721
5865
|
sendReset: (loginId: string, redirectUrl?: string, templateOptions?: {
|
|
5722
5866
|
[x: string]: string;
|
|
5723
5867
|
}) => Promise<_1.SdkResponse<{
|