@authing/react-ui-components 4.2.3-alpha.1 → 4.2.3-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/lib/index.min.js +1 -1
- package/package.json +1 -1
- package/types/Guard/core/hooks/useMultipleAccounts.d.ts +1 -0
- package/types/Login/core/withAuthingOtpPush/BeforeLogin.d.ts +1 -0
- package/types/Login/hooks/useOtpPushLogin.d.ts +11 -0
- package/types/Type/application.d.ts +5 -0
- package/types/version/version.d.ts +1 -1
package/package.json
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare function useOtpPushLoginWay(setLoginWay: React.Dispatch<any>): void;
|
|
3
|
+
export declare function useOtpPushLoginCache(): {
|
|
4
|
+
getCachedOtpLoginAccount: typeof getCachedOtpLoginAccount;
|
|
5
|
+
cacheOtpLoginAccount: typeof cacheOtpLoginAccount;
|
|
6
|
+
clearOtpLoginAccountCache: typeof clearOtpLoginAccountCache;
|
|
7
|
+
};
|
|
8
|
+
declare function cacheOtpLoginAccount(account: string): void;
|
|
9
|
+
declare function getCachedOtpLoginAccount(): string;
|
|
10
|
+
declare function clearOtpLoginAccountCache(): void;
|
|
11
|
+
export {};
|
|
@@ -308,4 +308,9 @@ export interface ApplicationConfig {
|
|
|
308
308
|
mfa: {
|
|
309
309
|
faceScore: number;
|
|
310
310
|
};
|
|
311
|
+
authingOtpPushTabConfig: {
|
|
312
|
+
enabledLoginMethods: Array<string> | null;
|
|
313
|
+
validLoginMethods: Array<string> | null;
|
|
314
|
+
validRegisterMethods: Array<string> | null;
|
|
315
|
+
};
|
|
311
316
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "4.2.3-alpha.
|
|
1
|
+
declare const _default: "4.2.3-alpha.2";
|
|
2
2
|
export default _default;
|