@authing/react-ui-components 4.3.3-alpha.0 → 4.3.3-alpha.1
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.css +1 -1
- package/lib/index.min.js +1 -1
- package/package.json +1 -1
- package/types/Guard/module.d.ts +3 -1
- package/types/IdentityBinding/IdentityBinding.d.ts +3 -1
- package/types/IdentityBinding/businessRequest.d.ts +5 -2
- package/types/Login/index.d.ts +4 -2
- package/types/Login/resetAccountName/businessRequest.d.ts +6 -0
- package/types/Login/resetAccountName/index.d.ts +3 -0
- package/types/_utils/responseManagement/interface.d.ts +3 -1
- package/types/version/version.d.ts +1 -1
package/package.json
CHANGED
package/types/Guard/module.d.ts
CHANGED
|
@@ -18,12 +18,14 @@ export declare enum GuardModuleType {
|
|
|
18
18
|
SUBMIT_SUCCESS = "submitSuccess",
|
|
19
19
|
IDENTITY_BINDING_ASK = "identityBindingAsk",
|
|
20
20
|
IDENTITY_BINDING = "identityBinding",
|
|
21
|
+
IDENTITY_BINDING_NO_ASK = "identityBindingNoAsk",
|
|
21
22
|
SELF_UNLOCK = "selfUnlock",
|
|
22
23
|
FLOW_SELECT_ACCOUNT = "flowSelectAccount",
|
|
23
24
|
APP_OTP_VERIFY = "appOtpVerify",
|
|
24
25
|
/** 多租户门户选择页 */
|
|
25
26
|
TENANT_PORTAL = "tenant-portal",
|
|
26
|
-
New_SUBMIT_SUCCESS = "newSubmitSuccess"
|
|
27
|
+
New_SUBMIT_SUCCESS = "newSubmitSuccess",
|
|
28
|
+
RESET_ACCOUNT_NAME = "resetAccountName"
|
|
27
29
|
}
|
|
28
30
|
export interface GuardModuleAction {
|
|
29
31
|
action: string;
|
|
@@ -21,12 +21,15 @@ 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",
|
|
24
|
-
BindByEmailCode = "bind-identity-by-email-code"
|
|
24
|
+
BindByEmailCode = "bind-identity-by-email-code",
|
|
25
|
+
RegisterByPassword = "register-bind-by-password",
|
|
26
|
+
RegisterByPhoneCode = "register-bind-by-phone-code",
|
|
27
|
+
RegisterByEmailCode = "register-bind-by-email-code"
|
|
25
28
|
}
|
|
26
29
|
export declare const PhoneCode: (params: PhoneCodeParams) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
|
|
27
30
|
export declare const EmailCode: (params: EmailCodeParams) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
|
|
28
31
|
export declare const Password: (params: PasswordParams) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
|
|
29
|
-
export declare const useIdentityBindingBusinessRequest: () => {
|
|
32
|
+
export declare const useIdentityBindingBusinessRequest: (type?: 'register' | 'bind') => {
|
|
30
33
|
"phone-code": (params: PhoneCodeParams) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
|
|
31
34
|
"emial-code": (params: EmailCodeParams) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
|
|
32
35
|
password: (params: PasswordParams) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
|
package/types/Login/index.d.ts
CHANGED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const enum ResetAccountBusinessAction {
|
|
2
|
+
ResetName = "reset-username-before-auth"
|
|
3
|
+
}
|
|
4
|
+
export declare const authFlow: (action: ResetAccountBusinessAction, content: {
|
|
5
|
+
username: string;
|
|
6
|
+
}) => Promise<import("../../_utils/http").AuthingGuardResponse<any>>;
|
|
@@ -7,6 +7,7 @@ export declare enum CodeAction {
|
|
|
7
7
|
export declare enum ApiCode {
|
|
8
8
|
IDENTITY_BINDING_ASK = 1641,
|
|
9
9
|
IDENTITY_BINDING = 1640,
|
|
10
|
+
IDENTITY_BINDING_NO_ASK = 1666,
|
|
10
11
|
APP_MFA = 1636,
|
|
11
12
|
MFA = 1635,
|
|
12
13
|
ABORT_FLOW = 1699,
|
|
@@ -18,6 +19,7 @@ export declare enum ApiCode {
|
|
|
18
19
|
UNSAFE_PASSWORD_TIP = 2061,
|
|
19
20
|
UNSAFE_PASSWORD_RESET = 2071,
|
|
20
21
|
FLOW_SELECT_ACCOUNT = 2921,
|
|
21
|
-
TENANT_PORTAL = 1644
|
|
22
|
+
TENANT_PORTAL = 1644,
|
|
23
|
+
RESET_ACCOUNT_NAME = 1108
|
|
22
24
|
}
|
|
23
25
|
export declare const ChangeModuleApiCodeMapping: Record<string, GuardModuleType>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "4.
|
|
1
|
+
declare const _default: "4.3.3-alpha.0";
|
|
2
2
|
export default _default;
|