@authing/react-ui-components 4.1.0-rc.7 → 4.1.0-rc.9
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/lib/index.min.js +1 -1
- package/package.json +1 -1
- package/types/BindTotp/businessRequest.d.ts +1 -1
- package/types/ChangePassword/businessRequest.d.ts +1 -1
- package/types/CompleteInfo/businessRequest.d.ts +1 -1
- package/types/Guard/GuardModule/stateMachine.d.ts +1 -1
- package/types/Guard/core/renderModule.d.ts +1 -1
- package/types/Guard/module.d.ts +1 -1
- package/types/IdentityBinding/businessRequest.d.ts +2 -2
- package/types/MFA/businessRequest.d.ts +1 -1
- package/types/MFA/interface.d.ts +1 -1
- package/types/RecoveryCode/businessRequest.d.ts +1 -1
- package/types/Type/application.d.ts +6 -6
- package/types/Type/index.d.ts +4 -4
- package/types/_utils/GuardErrorCode.d.ts +1 -1
- package/types/_utils/hooks/index.d.ts +1 -1
- package/types/_utils/index.d.ts +1 -1
- package/types/_utils/logger/interface.d.ts +1 -1
- package/types/_utils/responseManagement/interface.d.ts +2 -2
- package/types/version/version.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare
|
|
1
|
+
export declare enum ChangePasswordBusinessAction {
|
|
2
2
|
ResetPassword = "reset-password-first-time",
|
|
3
3
|
FirstLoginReset = "reset-password-forced",
|
|
4
4
|
ResetPasswordStrengthDetection = "reset-password-strength-detection"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { User } from 'authing-js-sdk';
|
|
2
2
|
import { CompleteInfoRequest, RegisterCompleteInfoInitData } from './interface';
|
|
3
|
-
export declare
|
|
3
|
+
export declare enum CompleteInfoAuthFlowAction {
|
|
4
4
|
Complete = "complete-completion",
|
|
5
5
|
Skip = "skip-completion"
|
|
6
6
|
}
|
package/types/Guard/module.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare
|
|
1
|
+
export declare enum IdentityBindingBusinessAction {
|
|
2
2
|
PhoneCode = "phone-code",
|
|
3
3
|
EmailCode = "emial-code",
|
|
4
4
|
Password = "password"
|
|
@@ -17,7 +17,7 @@ export interface PasswordParams {
|
|
|
17
17
|
password: string;
|
|
18
18
|
captchaCode: string;
|
|
19
19
|
}
|
|
20
|
-
export declare
|
|
20
|
+
export declare enum IdentityBindingAction {
|
|
21
21
|
CreateUser = "create-federation-account",
|
|
22
22
|
BindByPassword = "bind-identity-by-password",
|
|
23
23
|
BindByPhoneCode = "bind-identity-by-phone-code",
|
package/types/MFA/interface.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare const getDefaultMFAConfig: () => MFAConfig;
|
|
|
7
7
|
export interface MFAEvents extends IG2Events {
|
|
8
8
|
onLogin?: (user: User, authClient: AuthenticationClient) => void;
|
|
9
9
|
}
|
|
10
|
-
export declare
|
|
10
|
+
export declare enum MFAType {
|
|
11
11
|
SMS = "SMS",
|
|
12
12
|
EMAIL = "EMAIL",
|
|
13
13
|
TOTP = "OTP",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Lang } from '..';
|
|
2
2
|
import { PasswordStrength } from '../_utils';
|
|
3
3
|
export * from 'authing-js-sdk';
|
|
4
|
-
export declare
|
|
4
|
+
export declare enum LoginMethods {
|
|
5
5
|
LDAP = "ldap",
|
|
6
6
|
AppQr = "app-qrcode",
|
|
7
7
|
Password = "password",
|
|
@@ -10,11 +10,11 @@ export declare const enum LoginMethods {
|
|
|
10
10
|
AD = "ad",
|
|
11
11
|
WechatMpQrcode = "wechatmp-qrcode"
|
|
12
12
|
}
|
|
13
|
-
export declare
|
|
13
|
+
export declare enum OIDCConnectionMode {
|
|
14
14
|
FRONT_CHANNEL = "FRONT_CHANNEL",
|
|
15
15
|
BACK_CHANNEL = "BACK_CHANNEL"
|
|
16
16
|
}
|
|
17
|
-
export declare
|
|
17
|
+
export declare enum SocialConnectionProvider {
|
|
18
18
|
ALIPAY = "alipay",
|
|
19
19
|
GOOGLE = "google",
|
|
20
20
|
WECHATPC = "wechat:pc",
|
|
@@ -41,7 +41,7 @@ export declare const enum SocialConnectionProvider {
|
|
|
41
41
|
QINGCLOUD = "qingcloud",
|
|
42
42
|
FACEBOOK = "facebook"
|
|
43
43
|
}
|
|
44
|
-
export declare
|
|
44
|
+
export declare enum Protocol {
|
|
45
45
|
AD = "ad",
|
|
46
46
|
CAS = "cas",
|
|
47
47
|
LDAP = "ldap",
|
|
@@ -98,12 +98,12 @@ export interface SocialConnectionItem {
|
|
|
98
98
|
authorizationUrl: string;
|
|
99
99
|
tooltip: Record<Lang, string>;
|
|
100
100
|
}
|
|
101
|
-
export declare
|
|
101
|
+
export declare enum RegisterMethods {
|
|
102
102
|
Email = "email",
|
|
103
103
|
Phone = "phone",
|
|
104
104
|
EmailCode = "emailCode"
|
|
105
105
|
}
|
|
106
|
-
export declare
|
|
106
|
+
export declare enum RegisterSortMethods {
|
|
107
107
|
Email = "email-password",
|
|
108
108
|
Phone = "phone-code",
|
|
109
109
|
EmailCode = "email-code"
|
package/types/Type/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { ApplicationConfig } from './application';
|
|
|
5
5
|
export * from './application';
|
|
6
6
|
export type { CommonMessage, User };
|
|
7
7
|
export declare type Lang = 'zh-CN' | 'en-US' | 'zh-TW' | 'ja-JP';
|
|
8
|
-
export declare
|
|
8
|
+
export declare enum GuardMode {
|
|
9
9
|
Modal = "modal",
|
|
10
10
|
Normal = "normal"
|
|
11
11
|
}
|
|
@@ -55,11 +55,11 @@ export interface IG2Events {
|
|
|
55
55
|
}
|
|
56
56
|
export declare const getDefaultG2Config: () => IG2Config;
|
|
57
57
|
export declare const LanguageMap: any;
|
|
58
|
-
export declare
|
|
58
|
+
export declare enum InputMethod {
|
|
59
59
|
EmailCode = "email-code",
|
|
60
60
|
PhoneCode = "phone-code"
|
|
61
61
|
}
|
|
62
|
-
export declare
|
|
62
|
+
export declare enum GuardPageSene {
|
|
63
63
|
Global = "global"
|
|
64
64
|
}
|
|
65
65
|
export interface GuardPageConfig {
|
|
@@ -68,7 +68,7 @@ export interface GuardPageConfig {
|
|
|
68
68
|
defaultLanguage: Lang | 'browser';
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
|
-
export declare
|
|
71
|
+
export declare enum EmailScene {
|
|
72
72
|
WELCOME_EMAIL = "WELCOME_EMAIL",
|
|
73
73
|
FIRST_CREATED_USER = "FIRST_CREATED_USER",
|
|
74
74
|
REGISTER_VERIFY_CODE = "REGISTER_VERIFY_CODE",
|
|
@@ -28,7 +28,7 @@ export declare const parsePhone: (isInternationSms: boolean, fieldValue: string,
|
|
|
28
28
|
countryCode: string | undefined;
|
|
29
29
|
phoneNumber: string;
|
|
30
30
|
};
|
|
31
|
-
export declare
|
|
31
|
+
export declare enum SocialConnectionEvent {
|
|
32
32
|
Message = "message",
|
|
33
33
|
Auth = "auth"
|
|
34
34
|
}
|
package/types/_utils/index.d.ts
CHANGED
|
@@ -60,7 +60,7 @@ export declare const isMobile: () => RegExpMatchArray | null;
|
|
|
60
60
|
export declare const isSpecialBrowser: () => boolean;
|
|
61
61
|
export declare const assembledAppHost: (identifier: string, host: string) => string;
|
|
62
62
|
export declare const assembledRequestHost: (requestHostname: string, configHost: string) => string;
|
|
63
|
-
export declare
|
|
63
|
+
export declare enum PasswordStrength {
|
|
64
64
|
NoCheck = 0,
|
|
65
65
|
Low = 1,
|
|
66
66
|
Middle = 2,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { GuardModuleType } from '../../Guard';
|
|
2
|
-
export declare
|
|
2
|
+
export declare enum CodeAction {
|
|
3
3
|
CHANGE_MODULE = "changeModule",
|
|
4
4
|
RENDER_MESSAGE = "renderMessage",
|
|
5
5
|
FLOW_END = "flowEnd"
|
|
6
6
|
}
|
|
7
|
-
export declare
|
|
7
|
+
export declare enum ApiCode {
|
|
8
8
|
IDENTITY_BINDING_ASK = 1641,
|
|
9
9
|
IDENTITY_BINDING = 1640,
|
|
10
10
|
APP_MFA = 1636,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "4.1.0-rc.
|
|
1
|
+
declare const _default: "4.1.0-rc.9";
|
|
2
2
|
export default _default;
|