@frontegg/rest-api 7.72.0 → 7.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/auth/enums.d.ts +6 -1
- package/auth/enums.js +5 -0
- package/auth/interfaces.d.ts +5 -1
- package/auth/interfaces.js +4 -0
- package/index.js +1 -1
- package/node/auth/enums.js +5 -0
- package/node/auth/interfaces.js +4 -0
- package/node/index.js +1 -1
- package/package.json +1 -1
package/auth/enums.d.ts
CHANGED
|
@@ -12,7 +12,12 @@ export declare enum AuthStrategyEnum {
|
|
|
12
12
|
MagicLink = "MagicLink",
|
|
13
13
|
Code = "Code",
|
|
14
14
|
NoLocalAuthentication = "NoLocalAuthentication",
|
|
15
|
-
SmsCode = "SmsCode"
|
|
15
|
+
SmsCode = "SmsCode",
|
|
16
|
+
WebAuthN = "WebAuthN",
|
|
17
|
+
UsernameAndPassword = "UsernameAndPassword",
|
|
18
|
+
UsernameAndMagicLink = "UsernameAndMagicLink",
|
|
19
|
+
UsernameAndCode = "UsernameAndCode",
|
|
20
|
+
UsernameAndSms = "UsernameAndSms"
|
|
16
21
|
}
|
|
17
22
|
export declare enum MachineToMachineAuthStrategy {
|
|
18
23
|
ClientCredentials = "ClientCredentials",
|
package/auth/enums.js
CHANGED
|
@@ -15,6 +15,11 @@ export let AuthStrategyEnum;
|
|
|
15
15
|
AuthStrategyEnum["Code"] = "Code";
|
|
16
16
|
AuthStrategyEnum["NoLocalAuthentication"] = "NoLocalAuthentication";
|
|
17
17
|
AuthStrategyEnum["SmsCode"] = "SmsCode";
|
|
18
|
+
AuthStrategyEnum["WebAuthN"] = "WebAuthN";
|
|
19
|
+
AuthStrategyEnum["UsernameAndPassword"] = "UsernameAndPassword";
|
|
20
|
+
AuthStrategyEnum["UsernameAndMagicLink"] = "UsernameAndMagicLink";
|
|
21
|
+
AuthStrategyEnum["UsernameAndCode"] = "UsernameAndCode";
|
|
22
|
+
AuthStrategyEnum["UsernameAndSms"] = "UsernameAndSms";
|
|
18
23
|
})(AuthStrategyEnum || (AuthStrategyEnum = {}));
|
|
19
24
|
export let MachineToMachineAuthStrategy;
|
|
20
25
|
(function (MachineToMachineAuthStrategy) {
|
package/auth/interfaces.d.ts
CHANGED
|
@@ -559,7 +559,11 @@ export declare enum SecondaryAuthStrategy {
|
|
|
559
559
|
WebAuthnCrossPlatform = "WebAuthnCrossPlatform",
|
|
560
560
|
SmsCode = "SmsCode",
|
|
561
561
|
SmsCodeV2 = "SmsCodeV2",
|
|
562
|
-
Passkeys = "Passkeys"
|
|
562
|
+
Passkeys = "Passkeys",
|
|
563
|
+
UsernameAndPassword = "UsernameAndPassword",
|
|
564
|
+
UsernameAndMagicLink = "UsernameAndMagicLink",
|
|
565
|
+
UsernameAndCode = "UsernameAndCode",
|
|
566
|
+
UsernameAndSms = "UsernameAndSms"
|
|
563
567
|
}
|
|
564
568
|
export interface IAuthStrategyConfig {
|
|
565
569
|
strategy: SecondaryAuthStrategy;
|
package/auth/interfaces.js
CHANGED
|
@@ -7,6 +7,10 @@ export let SecondaryAuthStrategy;
|
|
|
7
7
|
SecondaryAuthStrategy["SmsCode"] = "SmsCode";
|
|
8
8
|
SecondaryAuthStrategy["SmsCodeV2"] = "SmsCodeV2";
|
|
9
9
|
SecondaryAuthStrategy["Passkeys"] = "Passkeys";
|
|
10
|
+
SecondaryAuthStrategy["UsernameAndPassword"] = "UsernameAndPassword";
|
|
11
|
+
SecondaryAuthStrategy["UsernameAndMagicLink"] = "UsernameAndMagicLink";
|
|
12
|
+
SecondaryAuthStrategy["UsernameAndCode"] = "UsernameAndCode";
|
|
13
|
+
SecondaryAuthStrategy["UsernameAndSms"] = "UsernameAndSms";
|
|
10
14
|
})(SecondaryAuthStrategy || (SecondaryAuthStrategy = {}));
|
|
11
15
|
// WebAuthn
|
|
12
16
|
export let WebAuthnDeviceType;
|
package/index.js
CHANGED
package/node/auth/enums.js
CHANGED
|
@@ -23,6 +23,11 @@ exports.AuthStrategyEnum = AuthStrategyEnum;
|
|
|
23
23
|
AuthStrategyEnum["Code"] = "Code";
|
|
24
24
|
AuthStrategyEnum["NoLocalAuthentication"] = "NoLocalAuthentication";
|
|
25
25
|
AuthStrategyEnum["SmsCode"] = "SmsCode";
|
|
26
|
+
AuthStrategyEnum["WebAuthN"] = "WebAuthN";
|
|
27
|
+
AuthStrategyEnum["UsernameAndPassword"] = "UsernameAndPassword";
|
|
28
|
+
AuthStrategyEnum["UsernameAndMagicLink"] = "UsernameAndMagicLink";
|
|
29
|
+
AuthStrategyEnum["UsernameAndCode"] = "UsernameAndCode";
|
|
30
|
+
AuthStrategyEnum["UsernameAndSms"] = "UsernameAndSms";
|
|
26
31
|
})(AuthStrategyEnum || (exports.AuthStrategyEnum = AuthStrategyEnum = {}));
|
|
27
32
|
let MachineToMachineAuthStrategy;
|
|
28
33
|
exports.MachineToMachineAuthStrategy = MachineToMachineAuthStrategy;
|
package/node/auth/interfaces.js
CHANGED
|
@@ -31,6 +31,10 @@ exports.SecondaryAuthStrategy = SecondaryAuthStrategy;
|
|
|
31
31
|
SecondaryAuthStrategy["SmsCode"] = "SmsCode";
|
|
32
32
|
SecondaryAuthStrategy["SmsCodeV2"] = "SmsCodeV2";
|
|
33
33
|
SecondaryAuthStrategy["Passkeys"] = "Passkeys";
|
|
34
|
+
SecondaryAuthStrategy["UsernameAndPassword"] = "UsernameAndPassword";
|
|
35
|
+
SecondaryAuthStrategy["UsernameAndMagicLink"] = "UsernameAndMagicLink";
|
|
36
|
+
SecondaryAuthStrategy["UsernameAndCode"] = "UsernameAndCode";
|
|
37
|
+
SecondaryAuthStrategy["UsernameAndSms"] = "UsernameAndSms";
|
|
34
38
|
})(SecondaryAuthStrategy || (exports.SecondaryAuthStrategy = SecondaryAuthStrategy = {}));
|
|
35
39
|
// WebAuthn
|
|
36
40
|
let WebAuthnDeviceType;
|
package/node/index.js
CHANGED