@authing/react-ui-components 4.4.1-alpha.2 → 4.4.1-alpha.3
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/package.json
CHANGED
|
@@ -29,7 +29,7 @@ export declare enum IdentityBindingAction {
|
|
|
29
29
|
export declare const PhoneCode: (params: PhoneCodeParams) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
|
|
30
30
|
export declare const EmailCode: (params: EmailCodeParams) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
|
|
31
31
|
export declare const Password: (params: PasswordParams) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
|
|
32
|
-
export declare const useIdentityBindingBusinessRequest: (type?: 'register' | 'bind') => {
|
|
32
|
+
export declare const useIdentityBindingBusinessRequest: (type?: 'register' | 'bind', enabledLoginAuthnWorkflow?: boolean) => {
|
|
33
33
|
"phone-code": (params: PhoneCodeParams) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
|
|
34
34
|
"emial-code": (params: EmailCodeParams) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
|
|
35
35
|
password: (params: PasswordParams) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Agreement, ApplicationConfig } from '../../Type/application';
|
|
3
|
+
import { PasswordLoginMethods } from '../../Type';
|
|
3
4
|
export interface RegisterWithEmailProps {
|
|
4
5
|
onRegisterSuccess: Function;
|
|
5
6
|
onRegisterFailed: Function;
|
|
@@ -8,6 +9,6 @@ export interface RegisterWithEmailProps {
|
|
|
8
9
|
agreements: Agreement[];
|
|
9
10
|
registeContext?: any;
|
|
10
11
|
label?: string;
|
|
11
|
-
method?: string;
|
|
12
|
+
method?: PasswordLoginMethods | string;
|
|
12
13
|
}
|
|
13
14
|
export declare const RegisterWithEmail: React.FC<RegisterWithEmailProps>;
|
|
@@ -168,6 +168,7 @@ export interface Agreement {
|
|
|
168
168
|
availableAt?: number;
|
|
169
169
|
}
|
|
170
170
|
export declare type PasswordLoginMethods = 'username-password' | 'email-password' | 'phone-password';
|
|
171
|
+
export declare const normalMethods: PasswordLoginMethods[];
|
|
171
172
|
export declare type VerifyLoginMethods = 'email-code' | 'phone-code';
|
|
172
173
|
export declare type ComplateFiledsPlace = 'register' | 'login';
|
|
173
174
|
export interface TabFieldsI18nItem {
|
|
@@ -333,5 +334,6 @@ export interface ApplicationConfig {
|
|
|
333
334
|
appRobotVerify: 'always_enable' | 'disable' | 'condition_set';
|
|
334
335
|
/** 用户池的人机验证策略,始终开启、不开启、设置条件触发 */
|
|
335
336
|
userpoolRobotVerify: 'always_enable' | 'disable' | 'condition_set';
|
|
336
|
-
|
|
337
|
+
enabledLoginAuthnWorkflow: boolean;
|
|
338
|
+
enabledRegistryAuthnWorkflow: boolean;
|
|
337
339
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "4.4.1-alpha.
|
|
1
|
+
declare const _default: "4.4.1-alpha.3";
|
|
2
2
|
export default _default;
|