@descope/vue-sdk 2.15.29 → 2.15.31

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/index.d.ts CHANGED
@@ -432,6 +432,7 @@ declare const useDescope: () => (((({
432
432
  platform: "ios" | "android";
433
433
  oauthProvider?: string;
434
434
  oauthRedirect?: string;
435
+ externalAuthRedirect?: string;
435
436
  };
436
437
  thirdPartyAppStateId?: string;
437
438
  applicationScopes?: string;
@@ -453,7 +454,7 @@ declare const useDescope: () => (((({
453
454
  };
454
455
  webauthn: {
455
456
  signUp: ((identifier: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
456
- start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
457
+ start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
457
458
  transactionId: string;
458
459
  options: string;
459
460
  create: boolean;
@@ -469,7 +470,7 @@ declare const useDescope: () => (((({
469
470
  finish: (transactionId: string, response: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
470
471
  };
471
472
  signUpOrIn: ((identifier: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
472
- start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
473
+ start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
473
474
  transactionId: string;
474
475
  options: string;
475
476
  create: boolean;
@@ -565,6 +566,7 @@ declare const useDescope: () => (((({
565
566
  templateOptions?: {
566
567
  [x: string]: string;
567
568
  };
569
+ tenantId?: string;
568
570
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
569
571
  maskedPhone: string;
570
572
  }>>;
@@ -581,6 +583,7 @@ declare const useDescope: () => (((({
581
583
  templateOptions?: {
582
584
  [x: string]: string;
583
585
  };
586
+ tenantId?: string;
584
587
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
585
588
  maskedPhone: string;
586
589
  }>>;
@@ -597,6 +600,7 @@ declare const useDescope: () => (((({
597
600
  templateOptions?: {
598
601
  [x: string]: string;
599
602
  };
603
+ tenantId?: string;
600
604
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
601
605
  maskedPhone: string;
602
606
  }>>;
@@ -613,6 +617,7 @@ declare const useDescope: () => (((({
613
617
  templateOptions?: {
614
618
  [x: string]: string;
615
619
  };
620
+ tenantId?: string;
616
621
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
617
622
  maskedPhone: string;
618
623
  }>>;
@@ -629,6 +634,7 @@ declare const useDescope: () => (((({
629
634
  templateOptions?: {
630
635
  [x: string]: string;
631
636
  };
637
+ tenantId?: string;
632
638
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
633
639
  maskedEmail: string;
634
640
  }>>;
@@ -743,6 +749,7 @@ declare const useDescope: () => (((({
743
749
  templateOptions?: {
744
750
  [x: string]: string;
745
751
  };
752
+ tenantId?: string;
746
753
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
747
754
  maskedPhone: string;
748
755
  }>>;
@@ -759,6 +766,7 @@ declare const useDescope: () => (((({
759
766
  templateOptions?: {
760
767
  [x: string]: string;
761
768
  };
769
+ tenantId?: string;
762
770
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
763
771
  maskedPhone: string;
764
772
  }>>;
@@ -775,6 +783,7 @@ declare const useDescope: () => (((({
775
783
  templateOptions?: {
776
784
  [x: string]: string;
777
785
  };
786
+ tenantId?: string;
778
787
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
779
788
  maskedPhone: string;
780
789
  }>>;
@@ -791,6 +800,7 @@ declare const useDescope: () => (((({
791
800
  templateOptions?: {
792
801
  [x: string]: string;
793
802
  };
803
+ tenantId?: string;
794
804
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
795
805
  maskedPhone: string;
796
806
  }>>;
@@ -807,6 +817,7 @@ declare const useDescope: () => (((({
807
817
  templateOptions?: {
808
818
  [x: string]: string;
809
819
  };
820
+ tenantId?: string;
810
821
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
811
822
  maskedEmail: string;
812
823
  }>>;
@@ -818,6 +829,7 @@ declare const useDescope: () => (((({
818
829
  templateOptions?: {
819
830
  [x: string]: string;
820
831
  };
832
+ tenantId?: string;
821
833
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
822
834
  maskedPhone: string;
823
835
  }>>;
@@ -827,6 +839,7 @@ declare const useDescope: () => (((({
827
839
  templateOptions?: {
828
840
  [x: string]: string;
829
841
  };
842
+ tenantId?: string;
830
843
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
831
844
  maskedPhone: string;
832
845
  }>>;
@@ -836,6 +849,7 @@ declare const useDescope: () => (((({
836
849
  templateOptions?: {
837
850
  [x: string]: string;
838
851
  };
852
+ tenantId?: string;
839
853
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
840
854
  maskedPhone: string;
841
855
  }>>;
@@ -845,6 +859,7 @@ declare const useDescope: () => (((({
845
859
  templateOptions?: {
846
860
  [x: string]: string;
847
861
  };
862
+ tenantId?: string;
848
863
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
849
864
  maskedPhone: string;
850
865
  }>>;
@@ -854,6 +869,7 @@ declare const useDescope: () => (((({
854
869
  templateOptions?: {
855
870
  [x: string]: string;
856
871
  };
872
+ tenantId?: string;
857
873
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
858
874
  maskedEmail: string;
859
875
  }>>;
@@ -929,6 +945,7 @@ declare const useDescope: () => (((({
929
945
  templateOptions?: {
930
946
  [x: string]: string;
931
947
  };
948
+ tenantId?: string;
932
949
  } & {
933
950
  providerId?: string;
934
951
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -945,6 +962,7 @@ declare const useDescope: () => (((({
945
962
  templateOptions?: {
946
963
  [x: string]: string;
947
964
  };
965
+ tenantId?: string;
948
966
  } & {
949
967
  providerId?: string;
950
968
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -1019,6 +1037,7 @@ declare const useDescope: () => (((({
1019
1037
  templateOptions?: {
1020
1038
  [x: string]: string;
1021
1039
  };
1040
+ tenantId?: string;
1022
1041
  } & {
1023
1042
  providerId?: string;
1024
1043
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -1039,6 +1058,7 @@ declare const useDescope: () => (((({
1039
1058
  templateOptions?: {
1040
1059
  [x: string]: string;
1041
1060
  };
1061
+ tenantId?: string;
1042
1062
  } & {
1043
1063
  providerId?: string;
1044
1064
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -1072,6 +1092,7 @@ declare const useDescope: () => (((({
1072
1092
  templateOptions?: {
1073
1093
  [x: string]: string;
1074
1094
  };
1095
+ tenantId?: string;
1075
1096
  } & {
1076
1097
  providerId?: string;
1077
1098
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
@@ -1153,6 +1174,7 @@ declare const useDescope: () => (((({
1153
1174
  platform: "ios" | "android";
1154
1175
  oauthProvider?: string;
1155
1176
  oauthRedirect?: string;
1177
+ externalAuthRedirect?: string;
1156
1178
  };
1157
1179
  thirdPartyAppStateId?: string;
1158
1180
  applicationScopes?: string;
@@ -1174,7 +1196,7 @@ declare const useDescope: () => (((({
1174
1196
  };
1175
1197
  webauthn: {
1176
1198
  signUp: ((identifier: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
1177
- start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
1199
+ start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
1178
1200
  transactionId: string;
1179
1201
  options: string;
1180
1202
  create: boolean;
@@ -1190,7 +1212,7 @@ declare const useDescope: () => (((({
1190
1212
  finish: (transactionId: string, response: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
1191
1213
  };
1192
1214
  signUpOrIn: ((identifier: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
1193
- start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
1215
+ start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
1194
1216
  transactionId: string;
1195
1217
  options: string;
1196
1218
  create: boolean;
@@ -1286,6 +1308,7 @@ declare const useDescope: () => (((({
1286
1308
  templateOptions?: {
1287
1309
  [x: string]: string;
1288
1310
  };
1311
+ tenantId?: string;
1289
1312
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1290
1313
  maskedPhone: string;
1291
1314
  }>>;
@@ -1302,6 +1325,7 @@ declare const useDescope: () => (((({
1302
1325
  templateOptions?: {
1303
1326
  [x: string]: string;
1304
1327
  };
1328
+ tenantId?: string;
1305
1329
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1306
1330
  maskedPhone: string;
1307
1331
  }>>;
@@ -1318,6 +1342,7 @@ declare const useDescope: () => (((({
1318
1342
  templateOptions?: {
1319
1343
  [x: string]: string;
1320
1344
  };
1345
+ tenantId?: string;
1321
1346
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1322
1347
  maskedPhone: string;
1323
1348
  }>>;
@@ -1334,6 +1359,7 @@ declare const useDescope: () => (((({
1334
1359
  templateOptions?: {
1335
1360
  [x: string]: string;
1336
1361
  };
1362
+ tenantId?: string;
1337
1363
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1338
1364
  maskedPhone: string;
1339
1365
  }>>;
@@ -1350,6 +1376,7 @@ declare const useDescope: () => (((({
1350
1376
  templateOptions?: {
1351
1377
  [x: string]: string;
1352
1378
  };
1379
+ tenantId?: string;
1353
1380
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1354
1381
  maskedEmail: string;
1355
1382
  }>>;
@@ -1464,6 +1491,7 @@ declare const useDescope: () => (((({
1464
1491
  templateOptions?: {
1465
1492
  [x: string]: string;
1466
1493
  };
1494
+ tenantId?: string;
1467
1495
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1468
1496
  maskedPhone: string;
1469
1497
  }>>;
@@ -1480,6 +1508,7 @@ declare const useDescope: () => (((({
1480
1508
  templateOptions?: {
1481
1509
  [x: string]: string;
1482
1510
  };
1511
+ tenantId?: string;
1483
1512
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1484
1513
  maskedPhone: string;
1485
1514
  }>>;
@@ -1496,6 +1525,7 @@ declare const useDescope: () => (((({
1496
1525
  templateOptions?: {
1497
1526
  [x: string]: string;
1498
1527
  };
1528
+ tenantId?: string;
1499
1529
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1500
1530
  maskedPhone: string;
1501
1531
  }>>;
@@ -1512,6 +1542,7 @@ declare const useDescope: () => (((({
1512
1542
  templateOptions?: {
1513
1543
  [x: string]: string;
1514
1544
  };
1545
+ tenantId?: string;
1515
1546
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1516
1547
  maskedPhone: string;
1517
1548
  }>>;
@@ -1528,6 +1559,7 @@ declare const useDescope: () => (((({
1528
1559
  templateOptions?: {
1529
1560
  [x: string]: string;
1530
1561
  };
1562
+ tenantId?: string;
1531
1563
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1532
1564
  maskedEmail: string;
1533
1565
  }>>;
@@ -1539,6 +1571,7 @@ declare const useDescope: () => (((({
1539
1571
  templateOptions?: {
1540
1572
  [x: string]: string;
1541
1573
  };
1574
+ tenantId?: string;
1542
1575
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1543
1576
  maskedPhone: string;
1544
1577
  }>>;
@@ -1548,6 +1581,7 @@ declare const useDescope: () => (((({
1548
1581
  templateOptions?: {
1549
1582
  [x: string]: string;
1550
1583
  };
1584
+ tenantId?: string;
1551
1585
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1552
1586
  maskedPhone: string;
1553
1587
  }>>;
@@ -1557,6 +1591,7 @@ declare const useDescope: () => (((({
1557
1591
  templateOptions?: {
1558
1592
  [x: string]: string;
1559
1593
  };
1594
+ tenantId?: string;
1560
1595
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1561
1596
  maskedPhone: string;
1562
1597
  }>>;
@@ -1566,6 +1601,7 @@ declare const useDescope: () => (((({
1566
1601
  templateOptions?: {
1567
1602
  [x: string]: string;
1568
1603
  };
1604
+ tenantId?: string;
1569
1605
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1570
1606
  maskedPhone: string;
1571
1607
  }>>;
@@ -1575,6 +1611,7 @@ declare const useDescope: () => (((({
1575
1611
  templateOptions?: {
1576
1612
  [x: string]: string;
1577
1613
  };
1614
+ tenantId?: string;
1578
1615
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1579
1616
  maskedEmail: string;
1580
1617
  }>>;
@@ -1650,6 +1687,7 @@ declare const useDescope: () => (((({
1650
1687
  templateOptions?: {
1651
1688
  [x: string]: string;
1652
1689
  };
1690
+ tenantId?: string;
1653
1691
  } & {
1654
1692
  providerId?: string;
1655
1693
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -1666,6 +1704,7 @@ declare const useDescope: () => (((({
1666
1704
  templateOptions?: {
1667
1705
  [x: string]: string;
1668
1706
  };
1707
+ tenantId?: string;
1669
1708
  } & {
1670
1709
  providerId?: string;
1671
1710
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -1740,6 +1779,7 @@ declare const useDescope: () => (((({
1740
1779
  templateOptions?: {
1741
1780
  [x: string]: string;
1742
1781
  };
1782
+ tenantId?: string;
1743
1783
  } & {
1744
1784
  providerId?: string;
1745
1785
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -1760,6 +1800,7 @@ declare const useDescope: () => (((({
1760
1800
  templateOptions?: {
1761
1801
  [x: string]: string;
1762
1802
  };
1803
+ tenantId?: string;
1763
1804
  } & {
1764
1805
  providerId?: string;
1765
1806
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -1793,6 +1834,7 @@ declare const useDescope: () => (((({
1793
1834
  templateOptions?: {
1794
1835
  [x: string]: string;
1795
1836
  };
1837
+ tenantId?: string;
1796
1838
  } & {
1797
1839
  providerId?: string;
1798
1840
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
@@ -1874,6 +1916,7 @@ declare const useDescope: () => (((({
1874
1916
  platform: "ios" | "android";
1875
1917
  oauthProvider?: string;
1876
1918
  oauthRedirect?: string;
1919
+ externalAuthRedirect?: string;
1877
1920
  };
1878
1921
  thirdPartyAppStateId?: string;
1879
1922
  applicationScopes?: string;
@@ -1895,7 +1938,7 @@ declare const useDescope: () => (((({
1895
1938
  };
1896
1939
  webauthn: {
1897
1940
  signUp: ((identifier: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
1898
- start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
1941
+ start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
1899
1942
  transactionId: string;
1900
1943
  options: string;
1901
1944
  create: boolean;
@@ -1911,7 +1954,7 @@ declare const useDescope: () => (((({
1911
1954
  finish: (transactionId: string, response: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
1912
1955
  };
1913
1956
  signUpOrIn: ((identifier: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
1914
- start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
1957
+ start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
1915
1958
  transactionId: string;
1916
1959
  options: string;
1917
1960
  create: boolean;
@@ -2007,6 +2050,7 @@ declare const useDescope: () => (((({
2007
2050
  templateOptions?: {
2008
2051
  [x: string]: string;
2009
2052
  };
2053
+ tenantId?: string;
2010
2054
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2011
2055
  maskedPhone: string;
2012
2056
  }>>;
@@ -2023,6 +2067,7 @@ declare const useDescope: () => (((({
2023
2067
  templateOptions?: {
2024
2068
  [x: string]: string;
2025
2069
  };
2070
+ tenantId?: string;
2026
2071
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2027
2072
  maskedPhone: string;
2028
2073
  }>>;
@@ -2039,6 +2084,7 @@ declare const useDescope: () => (((({
2039
2084
  templateOptions?: {
2040
2085
  [x: string]: string;
2041
2086
  };
2087
+ tenantId?: string;
2042
2088
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2043
2089
  maskedPhone: string;
2044
2090
  }>>;
@@ -2055,6 +2101,7 @@ declare const useDescope: () => (((({
2055
2101
  templateOptions?: {
2056
2102
  [x: string]: string;
2057
2103
  };
2104
+ tenantId?: string;
2058
2105
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2059
2106
  maskedPhone: string;
2060
2107
  }>>;
@@ -2071,6 +2118,7 @@ declare const useDescope: () => (((({
2071
2118
  templateOptions?: {
2072
2119
  [x: string]: string;
2073
2120
  };
2121
+ tenantId?: string;
2074
2122
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2075
2123
  maskedEmail: string;
2076
2124
  }>>;
@@ -2185,6 +2233,7 @@ declare const useDescope: () => (((({
2185
2233
  templateOptions?: {
2186
2234
  [x: string]: string;
2187
2235
  };
2236
+ tenantId?: string;
2188
2237
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2189
2238
  maskedPhone: string;
2190
2239
  }>>;
@@ -2201,6 +2250,7 @@ declare const useDescope: () => (((({
2201
2250
  templateOptions?: {
2202
2251
  [x: string]: string;
2203
2252
  };
2253
+ tenantId?: string;
2204
2254
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2205
2255
  maskedPhone: string;
2206
2256
  }>>;
@@ -2217,6 +2267,7 @@ declare const useDescope: () => (((({
2217
2267
  templateOptions?: {
2218
2268
  [x: string]: string;
2219
2269
  };
2270
+ tenantId?: string;
2220
2271
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2221
2272
  maskedPhone: string;
2222
2273
  }>>;
@@ -2233,6 +2284,7 @@ declare const useDescope: () => (((({
2233
2284
  templateOptions?: {
2234
2285
  [x: string]: string;
2235
2286
  };
2287
+ tenantId?: string;
2236
2288
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2237
2289
  maskedPhone: string;
2238
2290
  }>>;
@@ -2249,6 +2301,7 @@ declare const useDescope: () => (((({
2249
2301
  templateOptions?: {
2250
2302
  [x: string]: string;
2251
2303
  };
2304
+ tenantId?: string;
2252
2305
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2253
2306
  maskedEmail: string;
2254
2307
  }>>;
@@ -2260,6 +2313,7 @@ declare const useDescope: () => (((({
2260
2313
  templateOptions?: {
2261
2314
  [x: string]: string;
2262
2315
  };
2316
+ tenantId?: string;
2263
2317
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2264
2318
  maskedPhone: string;
2265
2319
  }>>;
@@ -2269,6 +2323,7 @@ declare const useDescope: () => (((({
2269
2323
  templateOptions?: {
2270
2324
  [x: string]: string;
2271
2325
  };
2326
+ tenantId?: string;
2272
2327
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2273
2328
  maskedPhone: string;
2274
2329
  }>>;
@@ -2278,6 +2333,7 @@ declare const useDescope: () => (((({
2278
2333
  templateOptions?: {
2279
2334
  [x: string]: string;
2280
2335
  };
2336
+ tenantId?: string;
2281
2337
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2282
2338
  maskedPhone: string;
2283
2339
  }>>;
@@ -2287,6 +2343,7 @@ declare const useDescope: () => (((({
2287
2343
  templateOptions?: {
2288
2344
  [x: string]: string;
2289
2345
  };
2346
+ tenantId?: string;
2290
2347
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2291
2348
  maskedPhone: string;
2292
2349
  }>>;
@@ -2296,6 +2353,7 @@ declare const useDescope: () => (((({
2296
2353
  templateOptions?: {
2297
2354
  [x: string]: string;
2298
2355
  };
2356
+ tenantId?: string;
2299
2357
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2300
2358
  maskedEmail: string;
2301
2359
  }>>;
@@ -2371,6 +2429,7 @@ declare const useDescope: () => (((({
2371
2429
  templateOptions?: {
2372
2430
  [x: string]: string;
2373
2431
  };
2432
+ tenantId?: string;
2374
2433
  } & {
2375
2434
  providerId?: string;
2376
2435
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -2387,6 +2446,7 @@ declare const useDescope: () => (((({
2387
2446
  templateOptions?: {
2388
2447
  [x: string]: string;
2389
2448
  };
2449
+ tenantId?: string;
2390
2450
  } & {
2391
2451
  providerId?: string;
2392
2452
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -2461,6 +2521,7 @@ declare const useDescope: () => (((({
2461
2521
  templateOptions?: {
2462
2522
  [x: string]: string;
2463
2523
  };
2524
+ tenantId?: string;
2464
2525
  } & {
2465
2526
  providerId?: string;
2466
2527
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -2481,6 +2542,7 @@ declare const useDescope: () => (((({
2481
2542
  templateOptions?: {
2482
2543
  [x: string]: string;
2483
2544
  };
2545
+ tenantId?: string;
2484
2546
  } & {
2485
2547
  providerId?: string;
2486
2548
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -2514,6 +2576,7 @@ declare const useDescope: () => (((({
2514
2576
  templateOptions?: {
2515
2577
  [x: string]: string;
2516
2578
  };
2579
+ tenantId?: string;
2517
2580
  } & {
2518
2581
  providerId?: string;
2519
2582
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
@@ -2605,6 +2668,7 @@ declare const useDescope: () => (((({
2605
2668
  platform: "ios" | "android";
2606
2669
  oauthProvider?: string;
2607
2670
  oauthRedirect?: string;
2671
+ externalAuthRedirect?: string;
2608
2672
  };
2609
2673
  thirdPartyAppStateId?: string;
2610
2674
  applicationScopes?: string;
@@ -2626,7 +2690,7 @@ declare const useDescope: () => (((({
2626
2690
  };
2627
2691
  webauthn: {
2628
2692
  signUp: ((identifier: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
2629
- start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
2693
+ start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
2630
2694
  transactionId: string;
2631
2695
  options: string;
2632
2696
  create: boolean;
@@ -2642,7 +2706,7 @@ declare const useDescope: () => (((({
2642
2706
  finish: (transactionId: string, response: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
2643
2707
  };
2644
2708
  signUpOrIn: ((identifier: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
2645
- start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
2709
+ start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
2646
2710
  transactionId: string;
2647
2711
  options: string;
2648
2712
  create: boolean;
@@ -2738,6 +2802,7 @@ declare const useDescope: () => (((({
2738
2802
  templateOptions?: {
2739
2803
  [x: string]: string;
2740
2804
  };
2805
+ tenantId?: string;
2741
2806
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2742
2807
  maskedPhone: string;
2743
2808
  }>>;
@@ -2754,6 +2819,7 @@ declare const useDescope: () => (((({
2754
2819
  templateOptions?: {
2755
2820
  [x: string]: string;
2756
2821
  };
2822
+ tenantId?: string;
2757
2823
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2758
2824
  maskedPhone: string;
2759
2825
  }>>;
@@ -2770,6 +2836,7 @@ declare const useDescope: () => (((({
2770
2836
  templateOptions?: {
2771
2837
  [x: string]: string;
2772
2838
  };
2839
+ tenantId?: string;
2773
2840
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2774
2841
  maskedPhone: string;
2775
2842
  }>>;
@@ -2786,6 +2853,7 @@ declare const useDescope: () => (((({
2786
2853
  templateOptions?: {
2787
2854
  [x: string]: string;
2788
2855
  };
2856
+ tenantId?: string;
2789
2857
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2790
2858
  maskedPhone: string;
2791
2859
  }>>;
@@ -2802,6 +2870,7 @@ declare const useDescope: () => (((({
2802
2870
  templateOptions?: {
2803
2871
  [x: string]: string;
2804
2872
  };
2873
+ tenantId?: string;
2805
2874
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2806
2875
  maskedEmail: string;
2807
2876
  }>>;
@@ -2916,6 +2985,7 @@ declare const useDescope: () => (((({
2916
2985
  templateOptions?: {
2917
2986
  [x: string]: string;
2918
2987
  };
2988
+ tenantId?: string;
2919
2989
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2920
2990
  maskedPhone: string;
2921
2991
  }>>;
@@ -2932,6 +3002,7 @@ declare const useDescope: () => (((({
2932
3002
  templateOptions?: {
2933
3003
  [x: string]: string;
2934
3004
  };
3005
+ tenantId?: string;
2935
3006
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2936
3007
  maskedPhone: string;
2937
3008
  }>>;
@@ -2948,6 +3019,7 @@ declare const useDescope: () => (((({
2948
3019
  templateOptions?: {
2949
3020
  [x: string]: string;
2950
3021
  };
3022
+ tenantId?: string;
2951
3023
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2952
3024
  maskedPhone: string;
2953
3025
  }>>;
@@ -2964,6 +3036,7 @@ declare const useDescope: () => (((({
2964
3036
  templateOptions?: {
2965
3037
  [x: string]: string;
2966
3038
  };
3039
+ tenantId?: string;
2967
3040
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2968
3041
  maskedPhone: string;
2969
3042
  }>>;
@@ -2980,6 +3053,7 @@ declare const useDescope: () => (((({
2980
3053
  templateOptions?: {
2981
3054
  [x: string]: string;
2982
3055
  };
3056
+ tenantId?: string;
2983
3057
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2984
3058
  maskedEmail: string;
2985
3059
  }>>;
@@ -2991,6 +3065,7 @@ declare const useDescope: () => (((({
2991
3065
  templateOptions?: {
2992
3066
  [x: string]: string;
2993
3067
  };
3068
+ tenantId?: string;
2994
3069
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2995
3070
  maskedPhone: string;
2996
3071
  }>>;
@@ -3000,6 +3075,7 @@ declare const useDescope: () => (((({
3000
3075
  templateOptions?: {
3001
3076
  [x: string]: string;
3002
3077
  };
3078
+ tenantId?: string;
3003
3079
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3004
3080
  maskedPhone: string;
3005
3081
  }>>;
@@ -3009,6 +3085,7 @@ declare const useDescope: () => (((({
3009
3085
  templateOptions?: {
3010
3086
  [x: string]: string;
3011
3087
  };
3088
+ tenantId?: string;
3012
3089
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3013
3090
  maskedPhone: string;
3014
3091
  }>>;
@@ -3018,6 +3095,7 @@ declare const useDescope: () => (((({
3018
3095
  templateOptions?: {
3019
3096
  [x: string]: string;
3020
3097
  };
3098
+ tenantId?: string;
3021
3099
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3022
3100
  maskedPhone: string;
3023
3101
  }>>;
@@ -3027,6 +3105,7 @@ declare const useDescope: () => (((({
3027
3105
  templateOptions?: {
3028
3106
  [x: string]: string;
3029
3107
  };
3108
+ tenantId?: string;
3030
3109
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3031
3110
  maskedEmail: string;
3032
3111
  }>>;
@@ -3102,6 +3181,7 @@ declare const useDescope: () => (((({
3102
3181
  templateOptions?: {
3103
3182
  [x: string]: string;
3104
3183
  };
3184
+ tenantId?: string;
3105
3185
  } & {
3106
3186
  providerId?: string;
3107
3187
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -3118,6 +3198,7 @@ declare const useDescope: () => (((({
3118
3198
  templateOptions?: {
3119
3199
  [x: string]: string;
3120
3200
  };
3201
+ tenantId?: string;
3121
3202
  } & {
3122
3203
  providerId?: string;
3123
3204
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -3192,6 +3273,7 @@ declare const useDescope: () => (((({
3192
3273
  templateOptions?: {
3193
3274
  [x: string]: string;
3194
3275
  };
3276
+ tenantId?: string;
3195
3277
  } & {
3196
3278
  providerId?: string;
3197
3279
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -3212,6 +3294,7 @@ declare const useDescope: () => (((({
3212
3294
  templateOptions?: {
3213
3295
  [x: string]: string;
3214
3296
  };
3297
+ tenantId?: string;
3215
3298
  } & {
3216
3299
  providerId?: string;
3217
3300
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -3245,6 +3328,7 @@ declare const useDescope: () => (((({
3245
3328
  templateOptions?: {
3246
3329
  [x: string]: string;
3247
3330
  };
3331
+ tenantId?: string;
3248
3332
  } & {
3249
3333
  providerId?: string;
3250
3334
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
@@ -3326,6 +3410,7 @@ declare const useDescope: () => (((({
3326
3410
  platform: "ios" | "android";
3327
3411
  oauthProvider?: string;
3328
3412
  oauthRedirect?: string;
3413
+ externalAuthRedirect?: string;
3329
3414
  };
3330
3415
  thirdPartyAppStateId?: string;
3331
3416
  applicationScopes?: string;
@@ -3347,7 +3432,7 @@ declare const useDescope: () => (((({
3347
3432
  };
3348
3433
  webauthn: {
3349
3434
  signUp: ((identifier: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
3350
- start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
3435
+ start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
3351
3436
  transactionId: string;
3352
3437
  options: string;
3353
3438
  create: boolean;
@@ -3363,7 +3448,7 @@ declare const useDescope: () => (((({
3363
3448
  finish: (transactionId: string, response: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
3364
3449
  };
3365
3450
  signUpOrIn: ((identifier: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
3366
- start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
3451
+ start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
3367
3452
  transactionId: string;
3368
3453
  options: string;
3369
3454
  create: boolean;
@@ -3459,6 +3544,7 @@ declare const useDescope: () => (((({
3459
3544
  templateOptions?: {
3460
3545
  [x: string]: string;
3461
3546
  };
3547
+ tenantId?: string;
3462
3548
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3463
3549
  maskedPhone: string;
3464
3550
  }>>;
@@ -3475,6 +3561,7 @@ declare const useDescope: () => (((({
3475
3561
  templateOptions?: {
3476
3562
  [x: string]: string;
3477
3563
  };
3564
+ tenantId?: string;
3478
3565
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3479
3566
  maskedPhone: string;
3480
3567
  }>>;
@@ -3491,6 +3578,7 @@ declare const useDescope: () => (((({
3491
3578
  templateOptions?: {
3492
3579
  [x: string]: string;
3493
3580
  };
3581
+ tenantId?: string;
3494
3582
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3495
3583
  maskedPhone: string;
3496
3584
  }>>;
@@ -3507,6 +3595,7 @@ declare const useDescope: () => (((({
3507
3595
  templateOptions?: {
3508
3596
  [x: string]: string;
3509
3597
  };
3598
+ tenantId?: string;
3510
3599
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3511
3600
  maskedPhone: string;
3512
3601
  }>>;
@@ -3523,6 +3612,7 @@ declare const useDescope: () => (((({
3523
3612
  templateOptions?: {
3524
3613
  [x: string]: string;
3525
3614
  };
3615
+ tenantId?: string;
3526
3616
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3527
3617
  maskedEmail: string;
3528
3618
  }>>;
@@ -3637,6 +3727,7 @@ declare const useDescope: () => (((({
3637
3727
  templateOptions?: {
3638
3728
  [x: string]: string;
3639
3729
  };
3730
+ tenantId?: string;
3640
3731
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3641
3732
  maskedPhone: string;
3642
3733
  }>>;
@@ -3653,6 +3744,7 @@ declare const useDescope: () => (((({
3653
3744
  templateOptions?: {
3654
3745
  [x: string]: string;
3655
3746
  };
3747
+ tenantId?: string;
3656
3748
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3657
3749
  maskedPhone: string;
3658
3750
  }>>;
@@ -3669,6 +3761,7 @@ declare const useDescope: () => (((({
3669
3761
  templateOptions?: {
3670
3762
  [x: string]: string;
3671
3763
  };
3764
+ tenantId?: string;
3672
3765
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3673
3766
  maskedPhone: string;
3674
3767
  }>>;
@@ -3685,6 +3778,7 @@ declare const useDescope: () => (((({
3685
3778
  templateOptions?: {
3686
3779
  [x: string]: string;
3687
3780
  };
3781
+ tenantId?: string;
3688
3782
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3689
3783
  maskedPhone: string;
3690
3784
  }>>;
@@ -3701,6 +3795,7 @@ declare const useDescope: () => (((({
3701
3795
  templateOptions?: {
3702
3796
  [x: string]: string;
3703
3797
  };
3798
+ tenantId?: string;
3704
3799
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3705
3800
  maskedEmail: string;
3706
3801
  }>>;
@@ -3712,6 +3807,7 @@ declare const useDescope: () => (((({
3712
3807
  templateOptions?: {
3713
3808
  [x: string]: string;
3714
3809
  };
3810
+ tenantId?: string;
3715
3811
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3716
3812
  maskedPhone: string;
3717
3813
  }>>;
@@ -3721,6 +3817,7 @@ declare const useDescope: () => (((({
3721
3817
  templateOptions?: {
3722
3818
  [x: string]: string;
3723
3819
  };
3820
+ tenantId?: string;
3724
3821
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3725
3822
  maskedPhone: string;
3726
3823
  }>>;
@@ -3730,6 +3827,7 @@ declare const useDescope: () => (((({
3730
3827
  templateOptions?: {
3731
3828
  [x: string]: string;
3732
3829
  };
3830
+ tenantId?: string;
3733
3831
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3734
3832
  maskedPhone: string;
3735
3833
  }>>;
@@ -3739,6 +3837,7 @@ declare const useDescope: () => (((({
3739
3837
  templateOptions?: {
3740
3838
  [x: string]: string;
3741
3839
  };
3840
+ tenantId?: string;
3742
3841
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3743
3842
  maskedPhone: string;
3744
3843
  }>>;
@@ -3748,6 +3847,7 @@ declare const useDescope: () => (((({
3748
3847
  templateOptions?: {
3749
3848
  [x: string]: string;
3750
3849
  };
3850
+ tenantId?: string;
3751
3851
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3752
3852
  maskedEmail: string;
3753
3853
  }>>;
@@ -3823,6 +3923,7 @@ declare const useDescope: () => (((({
3823
3923
  templateOptions?: {
3824
3924
  [x: string]: string;
3825
3925
  };
3926
+ tenantId?: string;
3826
3927
  } & {
3827
3928
  providerId?: string;
3828
3929
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -3839,6 +3940,7 @@ declare const useDescope: () => (((({
3839
3940
  templateOptions?: {
3840
3941
  [x: string]: string;
3841
3942
  };
3943
+ tenantId?: string;
3842
3944
  } & {
3843
3945
  providerId?: string;
3844
3946
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -3913,6 +4015,7 @@ declare const useDescope: () => (((({
3913
4015
  templateOptions?: {
3914
4016
  [x: string]: string;
3915
4017
  };
4018
+ tenantId?: string;
3916
4019
  } & {
3917
4020
  providerId?: string;
3918
4021
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -3933,6 +4036,7 @@ declare const useDescope: () => (((({
3933
4036
  templateOptions?: {
3934
4037
  [x: string]: string;
3935
4038
  };
4039
+ tenantId?: string;
3936
4040
  } & {
3937
4041
  providerId?: string;
3938
4042
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -3966,6 +4070,7 @@ declare const useDescope: () => (((({
3966
4070
  templateOptions?: {
3967
4071
  [x: string]: string;
3968
4072
  };
4073
+ tenantId?: string;
3969
4074
  } & {
3970
4075
  providerId?: string;
3971
4076
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
@@ -4047,6 +4152,7 @@ declare const useDescope: () => (((({
4047
4152
  platform: "ios" | "android";
4048
4153
  oauthProvider?: string;
4049
4154
  oauthRedirect?: string;
4155
+ externalAuthRedirect?: string;
4050
4156
  };
4051
4157
  thirdPartyAppStateId?: string;
4052
4158
  applicationScopes?: string;
@@ -4068,7 +4174,7 @@ declare const useDescope: () => (((({
4068
4174
  };
4069
4175
  webauthn: {
4070
4176
  signUp: ((identifier: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
4071
- start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
4177
+ start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
4072
4178
  transactionId: string;
4073
4179
  options: string;
4074
4180
  create: boolean;
@@ -4084,7 +4190,7 @@ declare const useDescope: () => (((({
4084
4190
  finish: (transactionId: string, response: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
4085
4191
  };
4086
4192
  signUpOrIn: ((identifier: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
4087
- start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
4193
+ start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
4088
4194
  transactionId: string;
4089
4195
  options: string;
4090
4196
  create: boolean;
@@ -4180,6 +4286,7 @@ declare const useDescope: () => (((({
4180
4286
  templateOptions?: {
4181
4287
  [x: string]: string;
4182
4288
  };
4289
+ tenantId?: string;
4183
4290
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4184
4291
  maskedPhone: string;
4185
4292
  }>>;
@@ -4196,6 +4303,7 @@ declare const useDescope: () => (((({
4196
4303
  templateOptions?: {
4197
4304
  [x: string]: string;
4198
4305
  };
4306
+ tenantId?: string;
4199
4307
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4200
4308
  maskedPhone: string;
4201
4309
  }>>;
@@ -4212,6 +4320,7 @@ declare const useDescope: () => (((({
4212
4320
  templateOptions?: {
4213
4321
  [x: string]: string;
4214
4322
  };
4323
+ tenantId?: string;
4215
4324
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4216
4325
  maskedPhone: string;
4217
4326
  }>>;
@@ -4228,6 +4337,7 @@ declare const useDescope: () => (((({
4228
4337
  templateOptions?: {
4229
4338
  [x: string]: string;
4230
4339
  };
4340
+ tenantId?: string;
4231
4341
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4232
4342
  maskedPhone: string;
4233
4343
  }>>;
@@ -4244,6 +4354,7 @@ declare const useDescope: () => (((({
4244
4354
  templateOptions?: {
4245
4355
  [x: string]: string;
4246
4356
  };
4357
+ tenantId?: string;
4247
4358
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4248
4359
  maskedEmail: string;
4249
4360
  }>>;
@@ -4358,6 +4469,7 @@ declare const useDescope: () => (((({
4358
4469
  templateOptions?: {
4359
4470
  [x: string]: string;
4360
4471
  };
4472
+ tenantId?: string;
4361
4473
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4362
4474
  maskedPhone: string;
4363
4475
  }>>;
@@ -4374,6 +4486,7 @@ declare const useDescope: () => (((({
4374
4486
  templateOptions?: {
4375
4487
  [x: string]: string;
4376
4488
  };
4489
+ tenantId?: string;
4377
4490
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4378
4491
  maskedPhone: string;
4379
4492
  }>>;
@@ -4390,6 +4503,7 @@ declare const useDescope: () => (((({
4390
4503
  templateOptions?: {
4391
4504
  [x: string]: string;
4392
4505
  };
4506
+ tenantId?: string;
4393
4507
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4394
4508
  maskedPhone: string;
4395
4509
  }>>;
@@ -4406,6 +4520,7 @@ declare const useDescope: () => (((({
4406
4520
  templateOptions?: {
4407
4521
  [x: string]: string;
4408
4522
  };
4523
+ tenantId?: string;
4409
4524
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4410
4525
  maskedPhone: string;
4411
4526
  }>>;
@@ -4422,6 +4537,7 @@ declare const useDescope: () => (((({
4422
4537
  templateOptions?: {
4423
4538
  [x: string]: string;
4424
4539
  };
4540
+ tenantId?: string;
4425
4541
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4426
4542
  maskedEmail: string;
4427
4543
  }>>;
@@ -4433,6 +4549,7 @@ declare const useDescope: () => (((({
4433
4549
  templateOptions?: {
4434
4550
  [x: string]: string;
4435
4551
  };
4552
+ tenantId?: string;
4436
4553
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4437
4554
  maskedPhone: string;
4438
4555
  }>>;
@@ -4442,6 +4559,7 @@ declare const useDescope: () => (((({
4442
4559
  templateOptions?: {
4443
4560
  [x: string]: string;
4444
4561
  };
4562
+ tenantId?: string;
4445
4563
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4446
4564
  maskedPhone: string;
4447
4565
  }>>;
@@ -4451,6 +4569,7 @@ declare const useDescope: () => (((({
4451
4569
  templateOptions?: {
4452
4570
  [x: string]: string;
4453
4571
  };
4572
+ tenantId?: string;
4454
4573
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4455
4574
  maskedPhone: string;
4456
4575
  }>>;
@@ -4460,6 +4579,7 @@ declare const useDescope: () => (((({
4460
4579
  templateOptions?: {
4461
4580
  [x: string]: string;
4462
4581
  };
4582
+ tenantId?: string;
4463
4583
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4464
4584
  maskedPhone: string;
4465
4585
  }>>;
@@ -4469,6 +4589,7 @@ declare const useDescope: () => (((({
4469
4589
  templateOptions?: {
4470
4590
  [x: string]: string;
4471
4591
  };
4592
+ tenantId?: string;
4472
4593
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4473
4594
  maskedEmail: string;
4474
4595
  }>>;
@@ -4544,6 +4665,7 @@ declare const useDescope: () => (((({
4544
4665
  templateOptions?: {
4545
4666
  [x: string]: string;
4546
4667
  };
4668
+ tenantId?: string;
4547
4669
  } & {
4548
4670
  providerId?: string;
4549
4671
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -4560,6 +4682,7 @@ declare const useDescope: () => (((({
4560
4682
  templateOptions?: {
4561
4683
  [x: string]: string;
4562
4684
  };
4685
+ tenantId?: string;
4563
4686
  } & {
4564
4687
  providerId?: string;
4565
4688
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -4634,6 +4757,7 @@ declare const useDescope: () => (((({
4634
4757
  templateOptions?: {
4635
4758
  [x: string]: string;
4636
4759
  };
4760
+ tenantId?: string;
4637
4761
  } & {
4638
4762
  providerId?: string;
4639
4763
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -4654,6 +4778,7 @@ declare const useDescope: () => (((({
4654
4778
  templateOptions?: {
4655
4779
  [x: string]: string;
4656
4780
  };
4781
+ tenantId?: string;
4657
4782
  } & {
4658
4783
  providerId?: string;
4659
4784
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -4687,6 +4812,7 @@ declare const useDescope: () => (((({
4687
4812
  templateOptions?: {
4688
4813
  [x: string]: string;
4689
4814
  };
4815
+ tenantId?: string;
4690
4816
  } & {
4691
4817
  providerId?: string;
4692
4818
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
@@ -4800,6 +4926,7 @@ declare const getSdk: () => (((({
4800
4926
  platform: "ios" | "android";
4801
4927
  oauthProvider?: string;
4802
4928
  oauthRedirect?: string;
4929
+ externalAuthRedirect?: string;
4803
4930
  };
4804
4931
  thirdPartyAppStateId?: string;
4805
4932
  applicationScopes?: string;
@@ -4821,7 +4948,7 @@ declare const getSdk: () => (((({
4821
4948
  };
4822
4949
  webauthn: {
4823
4950
  signUp: ((identifier: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
4824
- start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
4951
+ start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
4825
4952
  transactionId: string;
4826
4953
  options: string;
4827
4954
  create: boolean;
@@ -4837,7 +4964,7 @@ declare const getSdk: () => (((({
4837
4964
  finish: (transactionId: string, response: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
4838
4965
  };
4839
4966
  signUpOrIn: ((identifier: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
4840
- start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
4967
+ start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
4841
4968
  transactionId: string;
4842
4969
  options: string;
4843
4970
  create: boolean;
@@ -4933,6 +5060,7 @@ declare const getSdk: () => (((({
4933
5060
  templateOptions?: {
4934
5061
  [x: string]: string;
4935
5062
  };
5063
+ tenantId?: string;
4936
5064
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4937
5065
  maskedPhone: string;
4938
5066
  }>>;
@@ -4949,6 +5077,7 @@ declare const getSdk: () => (((({
4949
5077
  templateOptions?: {
4950
5078
  [x: string]: string;
4951
5079
  };
5080
+ tenantId?: string;
4952
5081
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4953
5082
  maskedPhone: string;
4954
5083
  }>>;
@@ -4965,6 +5094,7 @@ declare const getSdk: () => (((({
4965
5094
  templateOptions?: {
4966
5095
  [x: string]: string;
4967
5096
  };
5097
+ tenantId?: string;
4968
5098
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4969
5099
  maskedPhone: string;
4970
5100
  }>>;
@@ -4981,6 +5111,7 @@ declare const getSdk: () => (((({
4981
5111
  templateOptions?: {
4982
5112
  [x: string]: string;
4983
5113
  };
5114
+ tenantId?: string;
4984
5115
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4985
5116
  maskedPhone: string;
4986
5117
  }>>;
@@ -4997,6 +5128,7 @@ declare const getSdk: () => (((({
4997
5128
  templateOptions?: {
4998
5129
  [x: string]: string;
4999
5130
  };
5131
+ tenantId?: string;
5000
5132
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5001
5133
  maskedEmail: string;
5002
5134
  }>>;
@@ -5111,6 +5243,7 @@ declare const getSdk: () => (((({
5111
5243
  templateOptions?: {
5112
5244
  [x: string]: string;
5113
5245
  };
5246
+ tenantId?: string;
5114
5247
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5115
5248
  maskedPhone: string;
5116
5249
  }>>;
@@ -5127,6 +5260,7 @@ declare const getSdk: () => (((({
5127
5260
  templateOptions?: {
5128
5261
  [x: string]: string;
5129
5262
  };
5263
+ tenantId?: string;
5130
5264
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5131
5265
  maskedPhone: string;
5132
5266
  }>>;
@@ -5143,6 +5277,7 @@ declare const getSdk: () => (((({
5143
5277
  templateOptions?: {
5144
5278
  [x: string]: string;
5145
5279
  };
5280
+ tenantId?: string;
5146
5281
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5147
5282
  maskedPhone: string;
5148
5283
  }>>;
@@ -5159,6 +5294,7 @@ declare const getSdk: () => (((({
5159
5294
  templateOptions?: {
5160
5295
  [x: string]: string;
5161
5296
  };
5297
+ tenantId?: string;
5162
5298
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5163
5299
  maskedPhone: string;
5164
5300
  }>>;
@@ -5175,6 +5311,7 @@ declare const getSdk: () => (((({
5175
5311
  templateOptions?: {
5176
5312
  [x: string]: string;
5177
5313
  };
5314
+ tenantId?: string;
5178
5315
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5179
5316
  maskedEmail: string;
5180
5317
  }>>;
@@ -5186,6 +5323,7 @@ declare const getSdk: () => (((({
5186
5323
  templateOptions?: {
5187
5324
  [x: string]: string;
5188
5325
  };
5326
+ tenantId?: string;
5189
5327
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5190
5328
  maskedPhone: string;
5191
5329
  }>>;
@@ -5195,6 +5333,7 @@ declare const getSdk: () => (((({
5195
5333
  templateOptions?: {
5196
5334
  [x: string]: string;
5197
5335
  };
5336
+ tenantId?: string;
5198
5337
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5199
5338
  maskedPhone: string;
5200
5339
  }>>;
@@ -5204,6 +5343,7 @@ declare const getSdk: () => (((({
5204
5343
  templateOptions?: {
5205
5344
  [x: string]: string;
5206
5345
  };
5346
+ tenantId?: string;
5207
5347
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5208
5348
  maskedPhone: string;
5209
5349
  }>>;
@@ -5213,6 +5353,7 @@ declare const getSdk: () => (((({
5213
5353
  templateOptions?: {
5214
5354
  [x: string]: string;
5215
5355
  };
5356
+ tenantId?: string;
5216
5357
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5217
5358
  maskedPhone: string;
5218
5359
  }>>;
@@ -5222,6 +5363,7 @@ declare const getSdk: () => (((({
5222
5363
  templateOptions?: {
5223
5364
  [x: string]: string;
5224
5365
  };
5366
+ tenantId?: string;
5225
5367
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5226
5368
  maskedEmail: string;
5227
5369
  }>>;
@@ -5297,6 +5439,7 @@ declare const getSdk: () => (((({
5297
5439
  templateOptions?: {
5298
5440
  [x: string]: string;
5299
5441
  };
5442
+ tenantId?: string;
5300
5443
  } & {
5301
5444
  providerId?: string;
5302
5445
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -5313,6 +5456,7 @@ declare const getSdk: () => (((({
5313
5456
  templateOptions?: {
5314
5457
  [x: string]: string;
5315
5458
  };
5459
+ tenantId?: string;
5316
5460
  } & {
5317
5461
  providerId?: string;
5318
5462
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -5387,6 +5531,7 @@ declare const getSdk: () => (((({
5387
5531
  templateOptions?: {
5388
5532
  [x: string]: string;
5389
5533
  };
5534
+ tenantId?: string;
5390
5535
  } & {
5391
5536
  providerId?: string;
5392
5537
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -5407,6 +5552,7 @@ declare const getSdk: () => (((({
5407
5552
  templateOptions?: {
5408
5553
  [x: string]: string;
5409
5554
  };
5555
+ tenantId?: string;
5410
5556
  } & {
5411
5557
  providerId?: string;
5412
5558
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -5440,6 +5586,7 @@ declare const getSdk: () => (((({
5440
5586
  templateOptions?: {
5441
5587
  [x: string]: string;
5442
5588
  };
5589
+ tenantId?: string;
5443
5590
  } & {
5444
5591
  providerId?: string;
5445
5592
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
@@ -5521,6 +5668,7 @@ declare const getSdk: () => (((({
5521
5668
  platform: "ios" | "android";
5522
5669
  oauthProvider?: string;
5523
5670
  oauthRedirect?: string;
5671
+ externalAuthRedirect?: string;
5524
5672
  };
5525
5673
  thirdPartyAppStateId?: string;
5526
5674
  applicationScopes?: string;
@@ -5542,7 +5690,7 @@ declare const getSdk: () => (((({
5542
5690
  };
5543
5691
  webauthn: {
5544
5692
  signUp: ((identifier: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
5545
- start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
5693
+ start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
5546
5694
  transactionId: string;
5547
5695
  options: string;
5548
5696
  create: boolean;
@@ -5558,7 +5706,7 @@ declare const getSdk: () => (((({
5558
5706
  finish: (transactionId: string, response: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
5559
5707
  };
5560
5708
  signUpOrIn: ((identifier: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
5561
- start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
5709
+ start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
5562
5710
  transactionId: string;
5563
5711
  options: string;
5564
5712
  create: boolean;
@@ -5654,6 +5802,7 @@ declare const getSdk: () => (((({
5654
5802
  templateOptions?: {
5655
5803
  [x: string]: string;
5656
5804
  };
5805
+ tenantId?: string;
5657
5806
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5658
5807
  maskedPhone: string;
5659
5808
  }>>;
@@ -5670,6 +5819,7 @@ declare const getSdk: () => (((({
5670
5819
  templateOptions?: {
5671
5820
  [x: string]: string;
5672
5821
  };
5822
+ tenantId?: string;
5673
5823
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5674
5824
  maskedPhone: string;
5675
5825
  }>>;
@@ -5686,6 +5836,7 @@ declare const getSdk: () => (((({
5686
5836
  templateOptions?: {
5687
5837
  [x: string]: string;
5688
5838
  };
5839
+ tenantId?: string;
5689
5840
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5690
5841
  maskedPhone: string;
5691
5842
  }>>;
@@ -5702,6 +5853,7 @@ declare const getSdk: () => (((({
5702
5853
  templateOptions?: {
5703
5854
  [x: string]: string;
5704
5855
  };
5856
+ tenantId?: string;
5705
5857
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5706
5858
  maskedPhone: string;
5707
5859
  }>>;
@@ -5718,6 +5870,7 @@ declare const getSdk: () => (((({
5718
5870
  templateOptions?: {
5719
5871
  [x: string]: string;
5720
5872
  };
5873
+ tenantId?: string;
5721
5874
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5722
5875
  maskedEmail: string;
5723
5876
  }>>;
@@ -5832,6 +5985,7 @@ declare const getSdk: () => (((({
5832
5985
  templateOptions?: {
5833
5986
  [x: string]: string;
5834
5987
  };
5988
+ tenantId?: string;
5835
5989
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5836
5990
  maskedPhone: string;
5837
5991
  }>>;
@@ -5848,6 +6002,7 @@ declare const getSdk: () => (((({
5848
6002
  templateOptions?: {
5849
6003
  [x: string]: string;
5850
6004
  };
6005
+ tenantId?: string;
5851
6006
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5852
6007
  maskedPhone: string;
5853
6008
  }>>;
@@ -5864,6 +6019,7 @@ declare const getSdk: () => (((({
5864
6019
  templateOptions?: {
5865
6020
  [x: string]: string;
5866
6021
  };
6022
+ tenantId?: string;
5867
6023
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5868
6024
  maskedPhone: string;
5869
6025
  }>>;
@@ -5880,6 +6036,7 @@ declare const getSdk: () => (((({
5880
6036
  templateOptions?: {
5881
6037
  [x: string]: string;
5882
6038
  };
6039
+ tenantId?: string;
5883
6040
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5884
6041
  maskedPhone: string;
5885
6042
  }>>;
@@ -5896,6 +6053,7 @@ declare const getSdk: () => (((({
5896
6053
  templateOptions?: {
5897
6054
  [x: string]: string;
5898
6055
  };
6056
+ tenantId?: string;
5899
6057
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5900
6058
  maskedEmail: string;
5901
6059
  }>>;
@@ -5907,6 +6065,7 @@ declare const getSdk: () => (((({
5907
6065
  templateOptions?: {
5908
6066
  [x: string]: string;
5909
6067
  };
6068
+ tenantId?: string;
5910
6069
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5911
6070
  maskedPhone: string;
5912
6071
  }>>;
@@ -5916,6 +6075,7 @@ declare const getSdk: () => (((({
5916
6075
  templateOptions?: {
5917
6076
  [x: string]: string;
5918
6077
  };
6078
+ tenantId?: string;
5919
6079
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5920
6080
  maskedPhone: string;
5921
6081
  }>>;
@@ -5925,6 +6085,7 @@ declare const getSdk: () => (((({
5925
6085
  templateOptions?: {
5926
6086
  [x: string]: string;
5927
6087
  };
6088
+ tenantId?: string;
5928
6089
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5929
6090
  maskedPhone: string;
5930
6091
  }>>;
@@ -5934,6 +6095,7 @@ declare const getSdk: () => (((({
5934
6095
  templateOptions?: {
5935
6096
  [x: string]: string;
5936
6097
  };
6098
+ tenantId?: string;
5937
6099
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5938
6100
  maskedPhone: string;
5939
6101
  }>>;
@@ -5943,6 +6105,7 @@ declare const getSdk: () => (((({
5943
6105
  templateOptions?: {
5944
6106
  [x: string]: string;
5945
6107
  };
6108
+ tenantId?: string;
5946
6109
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5947
6110
  maskedEmail: string;
5948
6111
  }>>;
@@ -6018,6 +6181,7 @@ declare const getSdk: () => (((({
6018
6181
  templateOptions?: {
6019
6182
  [x: string]: string;
6020
6183
  };
6184
+ tenantId?: string;
6021
6185
  } & {
6022
6186
  providerId?: string;
6023
6187
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -6034,6 +6198,7 @@ declare const getSdk: () => (((({
6034
6198
  templateOptions?: {
6035
6199
  [x: string]: string;
6036
6200
  };
6201
+ tenantId?: string;
6037
6202
  } & {
6038
6203
  providerId?: string;
6039
6204
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -6108,6 +6273,7 @@ declare const getSdk: () => (((({
6108
6273
  templateOptions?: {
6109
6274
  [x: string]: string;
6110
6275
  };
6276
+ tenantId?: string;
6111
6277
  } & {
6112
6278
  providerId?: string;
6113
6279
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -6128,6 +6294,7 @@ declare const getSdk: () => (((({
6128
6294
  templateOptions?: {
6129
6295
  [x: string]: string;
6130
6296
  };
6297
+ tenantId?: string;
6131
6298
  } & {
6132
6299
  providerId?: string;
6133
6300
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -6161,6 +6328,7 @@ declare const getSdk: () => (((({
6161
6328
  templateOptions?: {
6162
6329
  [x: string]: string;
6163
6330
  };
6331
+ tenantId?: string;
6164
6332
  } & {
6165
6333
  providerId?: string;
6166
6334
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
@@ -6242,6 +6410,7 @@ declare const getSdk: () => (((({
6242
6410
  platform: "ios" | "android";
6243
6411
  oauthProvider?: string;
6244
6412
  oauthRedirect?: string;
6413
+ externalAuthRedirect?: string;
6245
6414
  };
6246
6415
  thirdPartyAppStateId?: string;
6247
6416
  applicationScopes?: string;
@@ -6263,7 +6432,7 @@ declare const getSdk: () => (((({
6263
6432
  };
6264
6433
  webauthn: {
6265
6434
  signUp: ((identifier: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
6266
- start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
6435
+ start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
6267
6436
  transactionId: string;
6268
6437
  options: string;
6269
6438
  create: boolean;
@@ -6279,7 +6448,7 @@ declare const getSdk: () => (((({
6279
6448
  finish: (transactionId: string, response: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
6280
6449
  };
6281
6450
  signUpOrIn: ((identifier: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
6282
- start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
6451
+ start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
6283
6452
  transactionId: string;
6284
6453
  options: string;
6285
6454
  create: boolean;
@@ -6375,6 +6544,7 @@ declare const getSdk: () => (((({
6375
6544
  templateOptions?: {
6376
6545
  [x: string]: string;
6377
6546
  };
6547
+ tenantId?: string;
6378
6548
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
6379
6549
  maskedPhone: string;
6380
6550
  }>>;
@@ -6391,6 +6561,7 @@ declare const getSdk: () => (((({
6391
6561
  templateOptions?: {
6392
6562
  [x: string]: string;
6393
6563
  };
6564
+ tenantId?: string;
6394
6565
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
6395
6566
  maskedPhone: string;
6396
6567
  }>>;
@@ -6407,6 +6578,7 @@ declare const getSdk: () => (((({
6407
6578
  templateOptions?: {
6408
6579
  [x: string]: string;
6409
6580
  };
6581
+ tenantId?: string;
6410
6582
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
6411
6583
  maskedPhone: string;
6412
6584
  }>>;
@@ -6423,6 +6595,7 @@ declare const getSdk: () => (((({
6423
6595
  templateOptions?: {
6424
6596
  [x: string]: string;
6425
6597
  };
6598
+ tenantId?: string;
6426
6599
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
6427
6600
  maskedPhone: string;
6428
6601
  }>>;
@@ -6439,6 +6612,7 @@ declare const getSdk: () => (((({
6439
6612
  templateOptions?: {
6440
6613
  [x: string]: string;
6441
6614
  };
6615
+ tenantId?: string;
6442
6616
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
6443
6617
  maskedEmail: string;
6444
6618
  }>>;
@@ -6553,6 +6727,7 @@ declare const getSdk: () => (((({
6553
6727
  templateOptions?: {
6554
6728
  [x: string]: string;
6555
6729
  };
6730
+ tenantId?: string;
6556
6731
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
6557
6732
  maskedPhone: string;
6558
6733
  }>>;
@@ -6569,6 +6744,7 @@ declare const getSdk: () => (((({
6569
6744
  templateOptions?: {
6570
6745
  [x: string]: string;
6571
6746
  };
6747
+ tenantId?: string;
6572
6748
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
6573
6749
  maskedPhone: string;
6574
6750
  }>>;
@@ -6585,6 +6761,7 @@ declare const getSdk: () => (((({
6585
6761
  templateOptions?: {
6586
6762
  [x: string]: string;
6587
6763
  };
6764
+ tenantId?: string;
6588
6765
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
6589
6766
  maskedPhone: string;
6590
6767
  }>>;
@@ -6601,6 +6778,7 @@ declare const getSdk: () => (((({
6601
6778
  templateOptions?: {
6602
6779
  [x: string]: string;
6603
6780
  };
6781
+ tenantId?: string;
6604
6782
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
6605
6783
  maskedPhone: string;
6606
6784
  }>>;
@@ -6617,6 +6795,7 @@ declare const getSdk: () => (((({
6617
6795
  templateOptions?: {
6618
6796
  [x: string]: string;
6619
6797
  };
6798
+ tenantId?: string;
6620
6799
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
6621
6800
  maskedEmail: string;
6622
6801
  }>>;
@@ -6628,6 +6807,7 @@ declare const getSdk: () => (((({
6628
6807
  templateOptions?: {
6629
6808
  [x: string]: string;
6630
6809
  };
6810
+ tenantId?: string;
6631
6811
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
6632
6812
  maskedPhone: string;
6633
6813
  }>>;
@@ -6637,6 +6817,7 @@ declare const getSdk: () => (((({
6637
6817
  templateOptions?: {
6638
6818
  [x: string]: string;
6639
6819
  };
6820
+ tenantId?: string;
6640
6821
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
6641
6822
  maskedPhone: string;
6642
6823
  }>>;
@@ -6646,6 +6827,7 @@ declare const getSdk: () => (((({
6646
6827
  templateOptions?: {
6647
6828
  [x: string]: string;
6648
6829
  };
6830
+ tenantId?: string;
6649
6831
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
6650
6832
  maskedPhone: string;
6651
6833
  }>>;
@@ -6655,6 +6837,7 @@ declare const getSdk: () => (((({
6655
6837
  templateOptions?: {
6656
6838
  [x: string]: string;
6657
6839
  };
6840
+ tenantId?: string;
6658
6841
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
6659
6842
  maskedPhone: string;
6660
6843
  }>>;
@@ -6664,6 +6847,7 @@ declare const getSdk: () => (((({
6664
6847
  templateOptions?: {
6665
6848
  [x: string]: string;
6666
6849
  };
6850
+ tenantId?: string;
6667
6851
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
6668
6852
  maskedEmail: string;
6669
6853
  }>>;
@@ -6739,6 +6923,7 @@ declare const getSdk: () => (((({
6739
6923
  templateOptions?: {
6740
6924
  [x: string]: string;
6741
6925
  };
6926
+ tenantId?: string;
6742
6927
  } & {
6743
6928
  providerId?: string;
6744
6929
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -6755,6 +6940,7 @@ declare const getSdk: () => (((({
6755
6940
  templateOptions?: {
6756
6941
  [x: string]: string;
6757
6942
  };
6943
+ tenantId?: string;
6758
6944
  } & {
6759
6945
  providerId?: string;
6760
6946
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -6829,6 +7015,7 @@ declare const getSdk: () => (((({
6829
7015
  templateOptions?: {
6830
7016
  [x: string]: string;
6831
7017
  };
7018
+ tenantId?: string;
6832
7019
  } & {
6833
7020
  providerId?: string;
6834
7021
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -6849,6 +7036,7 @@ declare const getSdk: () => (((({
6849
7036
  templateOptions?: {
6850
7037
  [x: string]: string;
6851
7038
  };
7039
+ tenantId?: string;
6852
7040
  } & {
6853
7041
  providerId?: string;
6854
7042
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -6882,6 +7070,7 @@ declare const getSdk: () => (((({
6882
7070
  templateOptions?: {
6883
7071
  [x: string]: string;
6884
7072
  };
7073
+ tenantId?: string;
6885
7074
  } & {
6886
7075
  providerId?: string;
6887
7076
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
@@ -6973,6 +7162,7 @@ declare const getSdk: () => (((({
6973
7162
  platform: "ios" | "android";
6974
7163
  oauthProvider?: string;
6975
7164
  oauthRedirect?: string;
7165
+ externalAuthRedirect?: string;
6976
7166
  };
6977
7167
  thirdPartyAppStateId?: string;
6978
7168
  applicationScopes?: string;
@@ -6994,7 +7184,7 @@ declare const getSdk: () => (((({
6994
7184
  };
6995
7185
  webauthn: {
6996
7186
  signUp: ((identifier: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
6997
- start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
7187
+ start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
6998
7188
  transactionId: string;
6999
7189
  options: string;
7000
7190
  create: boolean;
@@ -7010,7 +7200,7 @@ declare const getSdk: () => (((({
7010
7200
  finish: (transactionId: string, response: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
7011
7201
  };
7012
7202
  signUpOrIn: ((identifier: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
7013
- start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
7203
+ start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
7014
7204
  transactionId: string;
7015
7205
  options: string;
7016
7206
  create: boolean;
@@ -7106,6 +7296,7 @@ declare const getSdk: () => (((({
7106
7296
  templateOptions?: {
7107
7297
  [x: string]: string;
7108
7298
  };
7299
+ tenantId?: string;
7109
7300
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
7110
7301
  maskedPhone: string;
7111
7302
  }>>;
@@ -7122,6 +7313,7 @@ declare const getSdk: () => (((({
7122
7313
  templateOptions?: {
7123
7314
  [x: string]: string;
7124
7315
  };
7316
+ tenantId?: string;
7125
7317
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
7126
7318
  maskedPhone: string;
7127
7319
  }>>;
@@ -7138,6 +7330,7 @@ declare const getSdk: () => (((({
7138
7330
  templateOptions?: {
7139
7331
  [x: string]: string;
7140
7332
  };
7333
+ tenantId?: string;
7141
7334
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
7142
7335
  maskedPhone: string;
7143
7336
  }>>;
@@ -7154,6 +7347,7 @@ declare const getSdk: () => (((({
7154
7347
  templateOptions?: {
7155
7348
  [x: string]: string;
7156
7349
  };
7350
+ tenantId?: string;
7157
7351
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
7158
7352
  maskedPhone: string;
7159
7353
  }>>;
@@ -7170,6 +7364,7 @@ declare const getSdk: () => (((({
7170
7364
  templateOptions?: {
7171
7365
  [x: string]: string;
7172
7366
  };
7367
+ tenantId?: string;
7173
7368
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
7174
7369
  maskedEmail: string;
7175
7370
  }>>;
@@ -7284,6 +7479,7 @@ declare const getSdk: () => (((({
7284
7479
  templateOptions?: {
7285
7480
  [x: string]: string;
7286
7481
  };
7482
+ tenantId?: string;
7287
7483
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
7288
7484
  maskedPhone: string;
7289
7485
  }>>;
@@ -7300,6 +7496,7 @@ declare const getSdk: () => (((({
7300
7496
  templateOptions?: {
7301
7497
  [x: string]: string;
7302
7498
  };
7499
+ tenantId?: string;
7303
7500
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
7304
7501
  maskedPhone: string;
7305
7502
  }>>;
@@ -7316,6 +7513,7 @@ declare const getSdk: () => (((({
7316
7513
  templateOptions?: {
7317
7514
  [x: string]: string;
7318
7515
  };
7516
+ tenantId?: string;
7319
7517
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
7320
7518
  maskedPhone: string;
7321
7519
  }>>;
@@ -7332,6 +7530,7 @@ declare const getSdk: () => (((({
7332
7530
  templateOptions?: {
7333
7531
  [x: string]: string;
7334
7532
  };
7533
+ tenantId?: string;
7335
7534
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
7336
7535
  maskedPhone: string;
7337
7536
  }>>;
@@ -7348,6 +7547,7 @@ declare const getSdk: () => (((({
7348
7547
  templateOptions?: {
7349
7548
  [x: string]: string;
7350
7549
  };
7550
+ tenantId?: string;
7351
7551
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
7352
7552
  maskedEmail: string;
7353
7553
  }>>;
@@ -7359,6 +7559,7 @@ declare const getSdk: () => (((({
7359
7559
  templateOptions?: {
7360
7560
  [x: string]: string;
7361
7561
  };
7562
+ tenantId?: string;
7362
7563
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
7363
7564
  maskedPhone: string;
7364
7565
  }>>;
@@ -7368,6 +7569,7 @@ declare const getSdk: () => (((({
7368
7569
  templateOptions?: {
7369
7570
  [x: string]: string;
7370
7571
  };
7572
+ tenantId?: string;
7371
7573
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
7372
7574
  maskedPhone: string;
7373
7575
  }>>;
@@ -7377,6 +7579,7 @@ declare const getSdk: () => (((({
7377
7579
  templateOptions?: {
7378
7580
  [x: string]: string;
7379
7581
  };
7582
+ tenantId?: string;
7380
7583
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
7381
7584
  maskedPhone: string;
7382
7585
  }>>;
@@ -7386,6 +7589,7 @@ declare const getSdk: () => (((({
7386
7589
  templateOptions?: {
7387
7590
  [x: string]: string;
7388
7591
  };
7592
+ tenantId?: string;
7389
7593
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
7390
7594
  maskedPhone: string;
7391
7595
  }>>;
@@ -7395,6 +7599,7 @@ declare const getSdk: () => (((({
7395
7599
  templateOptions?: {
7396
7600
  [x: string]: string;
7397
7601
  };
7602
+ tenantId?: string;
7398
7603
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
7399
7604
  maskedEmail: string;
7400
7605
  }>>;
@@ -7470,6 +7675,7 @@ declare const getSdk: () => (((({
7470
7675
  templateOptions?: {
7471
7676
  [x: string]: string;
7472
7677
  };
7678
+ tenantId?: string;
7473
7679
  } & {
7474
7680
  providerId?: string;
7475
7681
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -7486,6 +7692,7 @@ declare const getSdk: () => (((({
7486
7692
  templateOptions?: {
7487
7693
  [x: string]: string;
7488
7694
  };
7695
+ tenantId?: string;
7489
7696
  } & {
7490
7697
  providerId?: string;
7491
7698
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -7560,6 +7767,7 @@ declare const getSdk: () => (((({
7560
7767
  templateOptions?: {
7561
7768
  [x: string]: string;
7562
7769
  };
7770
+ tenantId?: string;
7563
7771
  } & {
7564
7772
  providerId?: string;
7565
7773
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -7580,6 +7788,7 @@ declare const getSdk: () => (((({
7580
7788
  templateOptions?: {
7581
7789
  [x: string]: string;
7582
7790
  };
7791
+ tenantId?: string;
7583
7792
  } & {
7584
7793
  providerId?: string;
7585
7794
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -7613,6 +7822,7 @@ declare const getSdk: () => (((({
7613
7822
  templateOptions?: {
7614
7823
  [x: string]: string;
7615
7824
  };
7825
+ tenantId?: string;
7616
7826
  } & {
7617
7827
  providerId?: string;
7618
7828
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
@@ -7694,6 +7904,7 @@ declare const getSdk: () => (((({
7694
7904
  platform: "ios" | "android";
7695
7905
  oauthProvider?: string;
7696
7906
  oauthRedirect?: string;
7907
+ externalAuthRedirect?: string;
7697
7908
  };
7698
7909
  thirdPartyAppStateId?: string;
7699
7910
  applicationScopes?: string;
@@ -7715,7 +7926,7 @@ declare const getSdk: () => (((({
7715
7926
  };
7716
7927
  webauthn: {
7717
7928
  signUp: ((identifier: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
7718
- start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
7929
+ start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
7719
7930
  transactionId: string;
7720
7931
  options: string;
7721
7932
  create: boolean;
@@ -7731,7 +7942,7 @@ declare const getSdk: () => (((({
7731
7942
  finish: (transactionId: string, response: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
7732
7943
  };
7733
7944
  signUpOrIn: ((identifier: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
7734
- start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
7945
+ start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
7735
7946
  transactionId: string;
7736
7947
  options: string;
7737
7948
  create: boolean;
@@ -7827,6 +8038,7 @@ declare const getSdk: () => (((({
7827
8038
  templateOptions?: {
7828
8039
  [x: string]: string;
7829
8040
  };
8041
+ tenantId?: string;
7830
8042
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
7831
8043
  maskedPhone: string;
7832
8044
  }>>;
@@ -7843,6 +8055,7 @@ declare const getSdk: () => (((({
7843
8055
  templateOptions?: {
7844
8056
  [x: string]: string;
7845
8057
  };
8058
+ tenantId?: string;
7846
8059
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
7847
8060
  maskedPhone: string;
7848
8061
  }>>;
@@ -7859,6 +8072,7 @@ declare const getSdk: () => (((({
7859
8072
  templateOptions?: {
7860
8073
  [x: string]: string;
7861
8074
  };
8075
+ tenantId?: string;
7862
8076
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
7863
8077
  maskedPhone: string;
7864
8078
  }>>;
@@ -7875,6 +8089,7 @@ declare const getSdk: () => (((({
7875
8089
  templateOptions?: {
7876
8090
  [x: string]: string;
7877
8091
  };
8092
+ tenantId?: string;
7878
8093
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
7879
8094
  maskedPhone: string;
7880
8095
  }>>;
@@ -7891,6 +8106,7 @@ declare const getSdk: () => (((({
7891
8106
  templateOptions?: {
7892
8107
  [x: string]: string;
7893
8108
  };
8109
+ tenantId?: string;
7894
8110
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
7895
8111
  maskedEmail: string;
7896
8112
  }>>;
@@ -8005,6 +8221,7 @@ declare const getSdk: () => (((({
8005
8221
  templateOptions?: {
8006
8222
  [x: string]: string;
8007
8223
  };
8224
+ tenantId?: string;
8008
8225
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
8009
8226
  maskedPhone: string;
8010
8227
  }>>;
@@ -8021,6 +8238,7 @@ declare const getSdk: () => (((({
8021
8238
  templateOptions?: {
8022
8239
  [x: string]: string;
8023
8240
  };
8241
+ tenantId?: string;
8024
8242
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
8025
8243
  maskedPhone: string;
8026
8244
  }>>;
@@ -8037,6 +8255,7 @@ declare const getSdk: () => (((({
8037
8255
  templateOptions?: {
8038
8256
  [x: string]: string;
8039
8257
  };
8258
+ tenantId?: string;
8040
8259
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
8041
8260
  maskedPhone: string;
8042
8261
  }>>;
@@ -8053,6 +8272,7 @@ declare const getSdk: () => (((({
8053
8272
  templateOptions?: {
8054
8273
  [x: string]: string;
8055
8274
  };
8275
+ tenantId?: string;
8056
8276
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
8057
8277
  maskedPhone: string;
8058
8278
  }>>;
@@ -8069,6 +8289,7 @@ declare const getSdk: () => (((({
8069
8289
  templateOptions?: {
8070
8290
  [x: string]: string;
8071
8291
  };
8292
+ tenantId?: string;
8072
8293
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
8073
8294
  maskedEmail: string;
8074
8295
  }>>;
@@ -8080,6 +8301,7 @@ declare const getSdk: () => (((({
8080
8301
  templateOptions?: {
8081
8302
  [x: string]: string;
8082
8303
  };
8304
+ tenantId?: string;
8083
8305
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
8084
8306
  maskedPhone: string;
8085
8307
  }>>;
@@ -8089,6 +8311,7 @@ declare const getSdk: () => (((({
8089
8311
  templateOptions?: {
8090
8312
  [x: string]: string;
8091
8313
  };
8314
+ tenantId?: string;
8092
8315
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
8093
8316
  maskedPhone: string;
8094
8317
  }>>;
@@ -8098,6 +8321,7 @@ declare const getSdk: () => (((({
8098
8321
  templateOptions?: {
8099
8322
  [x: string]: string;
8100
8323
  };
8324
+ tenantId?: string;
8101
8325
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
8102
8326
  maskedPhone: string;
8103
8327
  }>>;
@@ -8107,6 +8331,7 @@ declare const getSdk: () => (((({
8107
8331
  templateOptions?: {
8108
8332
  [x: string]: string;
8109
8333
  };
8334
+ tenantId?: string;
8110
8335
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
8111
8336
  maskedPhone: string;
8112
8337
  }>>;
@@ -8116,6 +8341,7 @@ declare const getSdk: () => (((({
8116
8341
  templateOptions?: {
8117
8342
  [x: string]: string;
8118
8343
  };
8344
+ tenantId?: string;
8119
8345
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
8120
8346
  maskedEmail: string;
8121
8347
  }>>;
@@ -8191,6 +8417,7 @@ declare const getSdk: () => (((({
8191
8417
  templateOptions?: {
8192
8418
  [x: string]: string;
8193
8419
  };
8420
+ tenantId?: string;
8194
8421
  } & {
8195
8422
  providerId?: string;
8196
8423
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -8207,6 +8434,7 @@ declare const getSdk: () => (((({
8207
8434
  templateOptions?: {
8208
8435
  [x: string]: string;
8209
8436
  };
8437
+ tenantId?: string;
8210
8438
  } & {
8211
8439
  providerId?: string;
8212
8440
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -8281,6 +8509,7 @@ declare const getSdk: () => (((({
8281
8509
  templateOptions?: {
8282
8510
  [x: string]: string;
8283
8511
  };
8512
+ tenantId?: string;
8284
8513
  } & {
8285
8514
  providerId?: string;
8286
8515
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -8301,6 +8530,7 @@ declare const getSdk: () => (((({
8301
8530
  templateOptions?: {
8302
8531
  [x: string]: string;
8303
8532
  };
8533
+ tenantId?: string;
8304
8534
  } & {
8305
8535
  providerId?: string;
8306
8536
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -8334,6 +8564,7 @@ declare const getSdk: () => (((({
8334
8564
  templateOptions?: {
8335
8565
  [x: string]: string;
8336
8566
  };
8567
+ tenantId?: string;
8337
8568
  } & {
8338
8569
  providerId?: string;
8339
8570
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
@@ -8415,6 +8646,7 @@ declare const getSdk: () => (((({
8415
8646
  platform: "ios" | "android";
8416
8647
  oauthProvider?: string;
8417
8648
  oauthRedirect?: string;
8649
+ externalAuthRedirect?: string;
8418
8650
  };
8419
8651
  thirdPartyAppStateId?: string;
8420
8652
  applicationScopes?: string;
@@ -8436,7 +8668,7 @@ declare const getSdk: () => (((({
8436
8668
  };
8437
8669
  webauthn: {
8438
8670
  signUp: ((identifier: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
8439
- start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
8671
+ start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
8440
8672
  transactionId: string;
8441
8673
  options: string;
8442
8674
  create: boolean;
@@ -8452,7 +8684,7 @@ declare const getSdk: () => (((({
8452
8684
  finish: (transactionId: string, response: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
8453
8685
  };
8454
8686
  signUpOrIn: ((identifier: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
8455
- start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
8687
+ start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
8456
8688
  transactionId: string;
8457
8689
  options: string;
8458
8690
  create: boolean;
@@ -8548,6 +8780,7 @@ declare const getSdk: () => (((({
8548
8780
  templateOptions?: {
8549
8781
  [x: string]: string;
8550
8782
  };
8783
+ tenantId?: string;
8551
8784
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
8552
8785
  maskedPhone: string;
8553
8786
  }>>;
@@ -8564,6 +8797,7 @@ declare const getSdk: () => (((({
8564
8797
  templateOptions?: {
8565
8798
  [x: string]: string;
8566
8799
  };
8800
+ tenantId?: string;
8567
8801
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
8568
8802
  maskedPhone: string;
8569
8803
  }>>;
@@ -8580,6 +8814,7 @@ declare const getSdk: () => (((({
8580
8814
  templateOptions?: {
8581
8815
  [x: string]: string;
8582
8816
  };
8817
+ tenantId?: string;
8583
8818
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
8584
8819
  maskedPhone: string;
8585
8820
  }>>;
@@ -8596,6 +8831,7 @@ declare const getSdk: () => (((({
8596
8831
  templateOptions?: {
8597
8832
  [x: string]: string;
8598
8833
  };
8834
+ tenantId?: string;
8599
8835
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
8600
8836
  maskedPhone: string;
8601
8837
  }>>;
@@ -8612,6 +8848,7 @@ declare const getSdk: () => (((({
8612
8848
  templateOptions?: {
8613
8849
  [x: string]: string;
8614
8850
  };
8851
+ tenantId?: string;
8615
8852
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
8616
8853
  maskedEmail: string;
8617
8854
  }>>;
@@ -8726,6 +8963,7 @@ declare const getSdk: () => (((({
8726
8963
  templateOptions?: {
8727
8964
  [x: string]: string;
8728
8965
  };
8966
+ tenantId?: string;
8729
8967
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
8730
8968
  maskedPhone: string;
8731
8969
  }>>;
@@ -8742,6 +8980,7 @@ declare const getSdk: () => (((({
8742
8980
  templateOptions?: {
8743
8981
  [x: string]: string;
8744
8982
  };
8983
+ tenantId?: string;
8745
8984
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
8746
8985
  maskedPhone: string;
8747
8986
  }>>;
@@ -8758,6 +8997,7 @@ declare const getSdk: () => (((({
8758
8997
  templateOptions?: {
8759
8998
  [x: string]: string;
8760
8999
  };
9000
+ tenantId?: string;
8761
9001
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
8762
9002
  maskedPhone: string;
8763
9003
  }>>;
@@ -8774,6 +9014,7 @@ declare const getSdk: () => (((({
8774
9014
  templateOptions?: {
8775
9015
  [x: string]: string;
8776
9016
  };
9017
+ tenantId?: string;
8777
9018
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
8778
9019
  maskedPhone: string;
8779
9020
  }>>;
@@ -8790,6 +9031,7 @@ declare const getSdk: () => (((({
8790
9031
  templateOptions?: {
8791
9032
  [x: string]: string;
8792
9033
  };
9034
+ tenantId?: string;
8793
9035
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
8794
9036
  maskedEmail: string;
8795
9037
  }>>;
@@ -8801,6 +9043,7 @@ declare const getSdk: () => (((({
8801
9043
  templateOptions?: {
8802
9044
  [x: string]: string;
8803
9045
  };
9046
+ tenantId?: string;
8804
9047
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
8805
9048
  maskedPhone: string;
8806
9049
  }>>;
@@ -8810,6 +9053,7 @@ declare const getSdk: () => (((({
8810
9053
  templateOptions?: {
8811
9054
  [x: string]: string;
8812
9055
  };
9056
+ tenantId?: string;
8813
9057
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
8814
9058
  maskedPhone: string;
8815
9059
  }>>;
@@ -8819,6 +9063,7 @@ declare const getSdk: () => (((({
8819
9063
  templateOptions?: {
8820
9064
  [x: string]: string;
8821
9065
  };
9066
+ tenantId?: string;
8822
9067
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
8823
9068
  maskedPhone: string;
8824
9069
  }>>;
@@ -8828,6 +9073,7 @@ declare const getSdk: () => (((({
8828
9073
  templateOptions?: {
8829
9074
  [x: string]: string;
8830
9075
  };
9076
+ tenantId?: string;
8831
9077
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
8832
9078
  maskedPhone: string;
8833
9079
  }>>;
@@ -8837,6 +9083,7 @@ declare const getSdk: () => (((({
8837
9083
  templateOptions?: {
8838
9084
  [x: string]: string;
8839
9085
  };
9086
+ tenantId?: string;
8840
9087
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
8841
9088
  maskedEmail: string;
8842
9089
  }>>;
@@ -8912,6 +9159,7 @@ declare const getSdk: () => (((({
8912
9159
  templateOptions?: {
8913
9160
  [x: string]: string;
8914
9161
  };
9162
+ tenantId?: string;
8915
9163
  } & {
8916
9164
  providerId?: string;
8917
9165
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -8928,6 +9176,7 @@ declare const getSdk: () => (((({
8928
9176
  templateOptions?: {
8929
9177
  [x: string]: string;
8930
9178
  };
9179
+ tenantId?: string;
8931
9180
  } & {
8932
9181
  providerId?: string;
8933
9182
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -9002,6 +9251,7 @@ declare const getSdk: () => (((({
9002
9251
  templateOptions?: {
9003
9252
  [x: string]: string;
9004
9253
  };
9254
+ tenantId?: string;
9005
9255
  } & {
9006
9256
  providerId?: string;
9007
9257
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -9022,6 +9272,7 @@ declare const getSdk: () => (((({
9022
9272
  templateOptions?: {
9023
9273
  [x: string]: string;
9024
9274
  };
9275
+ tenantId?: string;
9025
9276
  } & {
9026
9277
  providerId?: string;
9027
9278
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -9055,6 +9306,7 @@ declare const getSdk: () => (((({
9055
9306
  templateOptions?: {
9056
9307
  [x: string]: string;
9057
9308
  };
9309
+ tenantId?: string;
9058
9310
  } & {
9059
9311
  providerId?: string;
9060
9312
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;