@descope/react-sdk 2.29.4 → 2.29.5
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 +18 -6
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/types/sdk.d.ts +54 -18
- package/package.json +12 -12
package/dist/types/sdk.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ declare const createSdkWrapper: <P extends {
|
|
|
62
62
|
webAuthnSupport?: boolean;
|
|
63
63
|
};
|
|
64
64
|
lastAuth?: {
|
|
65
|
-
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
65
|
+
authMethod?: "webauthn" | "otp" | "oauth" | "sso" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
66
66
|
oauthProvider?: string;
|
|
67
67
|
name?: string;
|
|
68
68
|
loginId?: string;
|
|
@@ -99,7 +99,7 @@ declare const createSdkWrapper: <P extends {
|
|
|
99
99
|
outboundAppScopes?: string[];
|
|
100
100
|
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "wsfedIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "oidcResource" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
101
101
|
lastAuth?: Omit<{
|
|
102
|
-
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
102
|
+
authMethod?: "webauthn" | "otp" | "oauth" | "sso" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
103
103
|
oauthProvider?: string;
|
|
104
104
|
name?: string;
|
|
105
105
|
loginId?: string;
|
|
@@ -684,6 +684,10 @@ declare const createSdkWrapper: <P extends {
|
|
|
684
684
|
externalIdentifier?: string;
|
|
685
685
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
686
686
|
};
|
|
687
|
+
sso: {
|
|
688
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
689
|
+
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
690
|
+
};
|
|
687
691
|
saml: {
|
|
688
692
|
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
689
693
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
@@ -816,7 +820,7 @@ declare const createSdkWrapper: <P extends {
|
|
|
816
820
|
webAuthnSupport?: boolean;
|
|
817
821
|
};
|
|
818
822
|
lastAuth?: {
|
|
819
|
-
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
823
|
+
authMethod?: "webauthn" | "otp" | "oauth" | "sso" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
820
824
|
oauthProvider?: string;
|
|
821
825
|
name?: string;
|
|
822
826
|
loginId?: string;
|
|
@@ -853,7 +857,7 @@ declare const createSdkWrapper: <P extends {
|
|
|
853
857
|
outboundAppScopes?: string[];
|
|
854
858
|
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "wsfedIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "oidcResource" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
855
859
|
lastAuth?: Omit<{
|
|
856
|
-
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
860
|
+
authMethod?: "webauthn" | "otp" | "oauth" | "sso" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
857
861
|
oauthProvider?: string;
|
|
858
862
|
name?: string;
|
|
859
863
|
loginId?: string;
|
|
@@ -1438,6 +1442,10 @@ declare const createSdkWrapper: <P extends {
|
|
|
1438
1442
|
externalIdentifier?: string;
|
|
1439
1443
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1440
1444
|
};
|
|
1445
|
+
sso: {
|
|
1446
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1447
|
+
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
1448
|
+
};
|
|
1441
1449
|
saml: {
|
|
1442
1450
|
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1443
1451
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
@@ -1570,7 +1578,7 @@ declare const createSdkWrapper: <P extends {
|
|
|
1570
1578
|
webAuthnSupport?: boolean;
|
|
1571
1579
|
};
|
|
1572
1580
|
lastAuth?: {
|
|
1573
|
-
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
1581
|
+
authMethod?: "webauthn" | "otp" | "oauth" | "sso" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
1574
1582
|
oauthProvider?: string;
|
|
1575
1583
|
name?: string;
|
|
1576
1584
|
loginId?: string;
|
|
@@ -1607,7 +1615,7 @@ declare const createSdkWrapper: <P extends {
|
|
|
1607
1615
|
outboundAppScopes?: string[];
|
|
1608
1616
|
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "wsfedIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "oidcResource" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
1609
1617
|
lastAuth?: Omit<{
|
|
1610
|
-
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
1618
|
+
authMethod?: "webauthn" | "otp" | "oauth" | "sso" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
1611
1619
|
oauthProvider?: string;
|
|
1612
1620
|
name?: string;
|
|
1613
1621
|
loginId?: string;
|
|
@@ -2192,6 +2200,10 @@ declare const createSdkWrapper: <P extends {
|
|
|
2192
2200
|
externalIdentifier?: string;
|
|
2193
2201
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
2194
2202
|
};
|
|
2203
|
+
sso: {
|
|
2204
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
2205
|
+
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
2206
|
+
};
|
|
2195
2207
|
saml: {
|
|
2196
2208
|
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
2197
2209
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
@@ -2339,7 +2351,7 @@ export declare const createTempSdk: () => (((({
|
|
|
2339
2351
|
webAuthnSupport?: boolean;
|
|
2340
2352
|
};
|
|
2341
2353
|
lastAuth?: {
|
|
2342
|
-
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
2354
|
+
authMethod?: "webauthn" | "otp" | "oauth" | "sso" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
2343
2355
|
oauthProvider?: string;
|
|
2344
2356
|
name?: string;
|
|
2345
2357
|
loginId?: string;
|
|
@@ -2376,7 +2388,7 @@ export declare const createTempSdk: () => (((({
|
|
|
2376
2388
|
outboundAppScopes?: string[];
|
|
2377
2389
|
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "wsfedIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "oidcResource" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
2378
2390
|
lastAuth?: Omit<{
|
|
2379
|
-
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
2391
|
+
authMethod?: "webauthn" | "otp" | "oauth" | "sso" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
2380
2392
|
oauthProvider?: string;
|
|
2381
2393
|
name?: string;
|
|
2382
2394
|
loginId?: string;
|
|
@@ -2961,6 +2973,10 @@ export declare const createTempSdk: () => (((({
|
|
|
2961
2973
|
externalIdentifier?: string;
|
|
2962
2974
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
2963
2975
|
};
|
|
2976
|
+
sso: {
|
|
2977
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
2978
|
+
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
2979
|
+
};
|
|
2964
2980
|
saml: {
|
|
2965
2981
|
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
2966
2982
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
@@ -3093,7 +3109,7 @@ export declare const createTempSdk: () => (((({
|
|
|
3093
3109
|
webAuthnSupport?: boolean;
|
|
3094
3110
|
};
|
|
3095
3111
|
lastAuth?: {
|
|
3096
|
-
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
3112
|
+
authMethod?: "webauthn" | "otp" | "oauth" | "sso" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
3097
3113
|
oauthProvider?: string;
|
|
3098
3114
|
name?: string;
|
|
3099
3115
|
loginId?: string;
|
|
@@ -3130,7 +3146,7 @@ export declare const createTempSdk: () => (((({
|
|
|
3130
3146
|
outboundAppScopes?: string[];
|
|
3131
3147
|
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "wsfedIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "oidcResource" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
3132
3148
|
lastAuth?: Omit<{
|
|
3133
|
-
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
3149
|
+
authMethod?: "webauthn" | "otp" | "oauth" | "sso" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
3134
3150
|
oauthProvider?: string;
|
|
3135
3151
|
name?: string;
|
|
3136
3152
|
loginId?: string;
|
|
@@ -3715,6 +3731,10 @@ export declare const createTempSdk: () => (((({
|
|
|
3715
3731
|
externalIdentifier?: string;
|
|
3716
3732
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
3717
3733
|
};
|
|
3734
|
+
sso: {
|
|
3735
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
3736
|
+
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
3737
|
+
};
|
|
3718
3738
|
saml: {
|
|
3719
3739
|
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
3720
3740
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
@@ -3847,7 +3867,7 @@ export declare const createTempSdk: () => (((({
|
|
|
3847
3867
|
webAuthnSupport?: boolean;
|
|
3848
3868
|
};
|
|
3849
3869
|
lastAuth?: {
|
|
3850
|
-
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
3870
|
+
authMethod?: "webauthn" | "otp" | "oauth" | "sso" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
3851
3871
|
oauthProvider?: string;
|
|
3852
3872
|
name?: string;
|
|
3853
3873
|
loginId?: string;
|
|
@@ -3884,7 +3904,7 @@ export declare const createTempSdk: () => (((({
|
|
|
3884
3904
|
outboundAppScopes?: string[];
|
|
3885
3905
|
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "wsfedIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "oidcResource" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
3886
3906
|
lastAuth?: Omit<{
|
|
3887
|
-
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
3907
|
+
authMethod?: "webauthn" | "otp" | "oauth" | "sso" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
3888
3908
|
oauthProvider?: string;
|
|
3889
3909
|
name?: string;
|
|
3890
3910
|
loginId?: string;
|
|
@@ -4469,6 +4489,10 @@ export declare const createTempSdk: () => (((({
|
|
|
4469
4489
|
externalIdentifier?: string;
|
|
4470
4490
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
4471
4491
|
};
|
|
4492
|
+
sso: {
|
|
4493
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
4494
|
+
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
4495
|
+
};
|
|
4472
4496
|
saml: {
|
|
4473
4497
|
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
4474
4498
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
@@ -4624,7 +4648,7 @@ export declare const getGlobalSdk: () => (((({
|
|
|
4624
4648
|
webAuthnSupport?: boolean;
|
|
4625
4649
|
};
|
|
4626
4650
|
lastAuth?: {
|
|
4627
|
-
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
4651
|
+
authMethod?: "webauthn" | "otp" | "oauth" | "sso" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
4628
4652
|
oauthProvider?: string;
|
|
4629
4653
|
name?: string;
|
|
4630
4654
|
loginId?: string;
|
|
@@ -4661,7 +4685,7 @@ export declare const getGlobalSdk: () => (((({
|
|
|
4661
4685
|
outboundAppScopes?: string[];
|
|
4662
4686
|
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "wsfedIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "oidcResource" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
4663
4687
|
lastAuth?: Omit<{
|
|
4664
|
-
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
4688
|
+
authMethod?: "webauthn" | "otp" | "oauth" | "sso" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
4665
4689
|
oauthProvider?: string;
|
|
4666
4690
|
name?: string;
|
|
4667
4691
|
loginId?: string;
|
|
@@ -5246,6 +5270,10 @@ export declare const getGlobalSdk: () => (((({
|
|
|
5246
5270
|
externalIdentifier?: string;
|
|
5247
5271
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
5248
5272
|
};
|
|
5273
|
+
sso: {
|
|
5274
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
5275
|
+
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
5276
|
+
};
|
|
5249
5277
|
saml: {
|
|
5250
5278
|
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
5251
5279
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
@@ -5378,7 +5406,7 @@ export declare const getGlobalSdk: () => (((({
|
|
|
5378
5406
|
webAuthnSupport?: boolean;
|
|
5379
5407
|
};
|
|
5380
5408
|
lastAuth?: {
|
|
5381
|
-
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
5409
|
+
authMethod?: "webauthn" | "otp" | "oauth" | "sso" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
5382
5410
|
oauthProvider?: string;
|
|
5383
5411
|
name?: string;
|
|
5384
5412
|
loginId?: string;
|
|
@@ -5415,7 +5443,7 @@ export declare const getGlobalSdk: () => (((({
|
|
|
5415
5443
|
outboundAppScopes?: string[];
|
|
5416
5444
|
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "wsfedIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "oidcResource" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
5417
5445
|
lastAuth?: Omit<{
|
|
5418
|
-
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
5446
|
+
authMethod?: "webauthn" | "otp" | "oauth" | "sso" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
5419
5447
|
oauthProvider?: string;
|
|
5420
5448
|
name?: string;
|
|
5421
5449
|
loginId?: string;
|
|
@@ -6000,6 +6028,10 @@ export declare const getGlobalSdk: () => (((({
|
|
|
6000
6028
|
externalIdentifier?: string;
|
|
6001
6029
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
6002
6030
|
};
|
|
6031
|
+
sso: {
|
|
6032
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
6033
|
+
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
6034
|
+
};
|
|
6003
6035
|
saml: {
|
|
6004
6036
|
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
6005
6037
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
@@ -6132,7 +6164,7 @@ export declare const getGlobalSdk: () => (((({
|
|
|
6132
6164
|
webAuthnSupport?: boolean;
|
|
6133
6165
|
};
|
|
6134
6166
|
lastAuth?: {
|
|
6135
|
-
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
6167
|
+
authMethod?: "webauthn" | "otp" | "oauth" | "sso" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
6136
6168
|
oauthProvider?: string;
|
|
6137
6169
|
name?: string;
|
|
6138
6170
|
loginId?: string;
|
|
@@ -6169,7 +6201,7 @@ export declare const getGlobalSdk: () => (((({
|
|
|
6169
6201
|
outboundAppScopes?: string[];
|
|
6170
6202
|
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "wsfedIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "oidcResource" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
6171
6203
|
lastAuth?: Omit<{
|
|
6172
|
-
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
6204
|
+
authMethod?: "webauthn" | "otp" | "oauth" | "sso" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
6173
6205
|
oauthProvider?: string;
|
|
6174
6206
|
name?: string;
|
|
6175
6207
|
loginId?: string;
|
|
@@ -6754,6 +6786,10 @@ export declare const getGlobalSdk: () => (((({
|
|
|
6754
6786
|
externalIdentifier?: string;
|
|
6755
6787
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
6756
6788
|
};
|
|
6789
|
+
sso: {
|
|
6790
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
6791
|
+
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
6792
|
+
};
|
|
6757
6793
|
saml: {
|
|
6758
6794
|
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
6759
6795
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/react-sdk",
|
|
3
|
-
"version": "2.29.
|
|
3
|
+
"version": "2.29.5",
|
|
4
4
|
"description": "Descope React SDK",
|
|
5
5
|
"author": "Descope Team <info@descope.com>",
|
|
6
6
|
"homepage": "https://github.com/descope/descope-js",
|
|
@@ -50,17 +50,17 @@
|
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@descope/sdk-helpers": "0.8.0",
|
|
53
|
-
"@descope/access-key-management-widget": "0.9.
|
|
54
|
-
"@descope/audit-management-widget": "0.8.
|
|
55
|
-
"@descope/role-management-widget": "0.9.
|
|
56
|
-
"@descope/user-management-widget": "0.14.
|
|
57
|
-
"@descope/
|
|
58
|
-
"@descope/
|
|
59
|
-
"@descope/outbound-applications-widget": "0.4.
|
|
60
|
-
"@descope/
|
|
61
|
-
"@descope/web-
|
|
62
|
-
"@descope/
|
|
63
|
-
"@descope/
|
|
53
|
+
"@descope/access-key-management-widget": "0.9.3",
|
|
54
|
+
"@descope/audit-management-widget": "0.8.3",
|
|
55
|
+
"@descope/role-management-widget": "0.9.3",
|
|
56
|
+
"@descope/user-management-widget": "0.14.4",
|
|
57
|
+
"@descope/user-profile-widget": "0.12.5",
|
|
58
|
+
"@descope/applications-portal-widget": "0.8.3",
|
|
59
|
+
"@descope/outbound-applications-widget": "0.4.4",
|
|
60
|
+
"@descope/web-js-sdk": "1.51.0",
|
|
61
|
+
"@descope/web-component": "3.69.3",
|
|
62
|
+
"@descope/tenant-profile-widget": "0.7.4",
|
|
63
|
+
"@descope/core-js-sdk": "2.65.0"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@babel/core": "7.26.0",
|