@forgerock/login-widget 1.2.0-beta.9 → 1.3.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/CHANGELOG.md +266 -145
- package/README.md +2 -2
- package/index.cjs +17561 -8505
- package/index.cjs.map +1 -1
- package/index.d.ts +181 -70
- package/index.js +17561 -8506
- package/index.js.map +1 -1
- package/package.json +4 -1
- package/types.d.ts +268 -148
package/index.d.ts
CHANGED
|
@@ -1,16 +1,75 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
interface Identifiers {
|
|
2
|
+
[key: string]: string;
|
|
3
|
+
}
|
|
4
|
+
/**
|
|
5
|
+
* InitParams - Interface for the init method parameters
|
|
6
|
+
* envId: string - Required; the environment id from your PingOne tenant
|
|
7
|
+
* * - All other parameters are optional
|
|
8
|
+
*/
|
|
9
|
+
interface InitParams {
|
|
10
|
+
envId: string;
|
|
11
|
+
consoleLogEnabled?: boolean;
|
|
12
|
+
waitForWindowLoad?: boolean;
|
|
13
|
+
hubUrl?: string;
|
|
14
|
+
disableHub?: boolean;
|
|
15
|
+
deviceAttributesToIgnore?: string[];
|
|
16
|
+
lazyMetadata?: boolean;
|
|
17
|
+
behavioralDataCollection?: boolean;
|
|
18
|
+
disableTags?: boolean;
|
|
19
|
+
externalIdentifiers?: Identifiers;
|
|
20
|
+
deviceKeyRsyncIntervals?: number;
|
|
21
|
+
enableTrust?: boolean;
|
|
22
|
+
}
|
|
23
|
+
declare global {
|
|
24
|
+
interface Window {
|
|
25
|
+
_pingOneSignals: {
|
|
26
|
+
init: (initParams?: InitParams) => Promise<void>;
|
|
27
|
+
getData: () => Promise<string>;
|
|
28
|
+
pauseBehavioralData: () => void;
|
|
29
|
+
resumeBehavioralData: () => void;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @class PIProtect - Class to interact with the underlying PingOne Signals SDK
|
|
35
|
+
*/
|
|
36
|
+
declare abstract class PIProtect {
|
|
37
|
+
/**
|
|
38
|
+
* @method getData - Method to get the device data
|
|
39
|
+
* @returns {Promise<string>} - Returns the device data
|
|
40
|
+
*/
|
|
41
|
+
static getData(): Promise<string>;
|
|
42
|
+
/**
|
|
43
|
+
* @method start - Method to initialize and start the PingOne Signals SDK
|
|
44
|
+
* @param {InitParams} options - The init parameters
|
|
45
|
+
* @returns {Promise<void>} - Returns a promise
|
|
46
|
+
*/
|
|
47
|
+
static start(options: InitParams): Promise<void>;
|
|
48
|
+
/**
|
|
49
|
+
* @method pauseBehavioralData - Method to pause the behavioral data collection
|
|
50
|
+
* @returns {void}
|
|
51
|
+
* @description Pause the behavioral data collection only; device profile data will still be collected
|
|
52
|
+
*/
|
|
53
|
+
static pauseBehavioralData(): void;
|
|
54
|
+
/**
|
|
55
|
+
* @method resumeBehavioralData - Method to resume the behavioral data collection
|
|
56
|
+
* @returns {void}
|
|
57
|
+
* @description Resume the behavioral data collection
|
|
58
|
+
*/
|
|
59
|
+
static resumeBehavioralData(): void;
|
|
12
60
|
}
|
|
13
61
|
|
|
62
|
+
interface StringDict<T> {
|
|
63
|
+
[name: string]: T;
|
|
64
|
+
}
|
|
65
|
+
interface Tokens {
|
|
66
|
+
accessToken: string;
|
|
67
|
+
idToken?: string;
|
|
68
|
+
refreshToken?: string;
|
|
69
|
+
tokenExpiry?: number;
|
|
70
|
+
}
|
|
71
|
+
//# sourceMappingURL=interfaces.d.ts.map
|
|
72
|
+
|
|
14
73
|
/**
|
|
15
74
|
* Types of callbacks directly supported by the SDK.
|
|
16
75
|
*/
|
|
@@ -25,6 +84,8 @@ declare enum CallbackType {
|
|
|
25
84
|
NameCallback = "NameCallback",
|
|
26
85
|
NumberAttributeInputCallback = "NumberAttributeInputCallback",
|
|
27
86
|
PasswordCallback = "PasswordCallback",
|
|
87
|
+
PingOneProtectEvaluationCallback = "PingOneProtectEvaluationCallback",
|
|
88
|
+
PingOneProtectInitializeCallback = "PingOneProtectInitializeCallback",
|
|
28
89
|
PollingWaitCallback = "PollingWaitCallback",
|
|
29
90
|
ReCaptchaCallback = "ReCaptchaCallback",
|
|
30
91
|
RedirectCallback = "RedirectCallback",
|
|
@@ -37,16 +98,7 @@ declare enum CallbackType {
|
|
|
37
98
|
ValidatedCreatePasswordCallback = "ValidatedCreatePasswordCallback",
|
|
38
99
|
ValidatedCreateUsernameCallback = "ValidatedCreateUsernameCallback"
|
|
39
100
|
}
|
|
40
|
-
|
|
41
|
-
interface StringDict<T> {
|
|
42
|
-
[name: string]: T;
|
|
43
|
-
}
|
|
44
|
-
interface Tokens {
|
|
45
|
-
accessToken: string;
|
|
46
|
-
idToken?: string;
|
|
47
|
-
refreshToken?: string;
|
|
48
|
-
tokenExpiry?: number;
|
|
49
|
-
}
|
|
101
|
+
//# sourceMappingURL=enums.d.ts.map
|
|
50
102
|
|
|
51
103
|
/**
|
|
52
104
|
* Represents the authentication tree API payload schema.
|
|
@@ -75,13 +127,6 @@ interface StepDetail {
|
|
|
75
127
|
failureUrl?: string;
|
|
76
128
|
result?: boolean;
|
|
77
129
|
}
|
|
78
|
-
/**
|
|
79
|
-
* Represents configuration overrides used when requesting the next
|
|
80
|
-
* step in an authentication tree.
|
|
81
|
-
*/
|
|
82
|
-
interface StepOptions extends ConfigOptions {
|
|
83
|
-
query?: StringDict<string>;
|
|
84
|
-
}
|
|
85
130
|
/**
|
|
86
131
|
* Represents failed policies for a matching property.
|
|
87
132
|
*/
|
|
@@ -122,6 +167,7 @@ interface NameValue {
|
|
|
122
167
|
name: string;
|
|
123
168
|
value: unknown;
|
|
124
169
|
}
|
|
170
|
+
//# sourceMappingURL=interfaces.d.ts.map
|
|
125
171
|
|
|
126
172
|
/**
|
|
127
173
|
* Base class for authentication tree callback wrappers.
|
|
@@ -166,8 +212,23 @@ declare class FRCallback {
|
|
|
166
212
|
getOutputByName<T>(name: string, defaultValue: T): T;
|
|
167
213
|
private getArrayElement;
|
|
168
214
|
}
|
|
215
|
+
//# sourceMappingURL=index.d.ts.map
|
|
216
|
+
|
|
217
|
+
type FRCallbackFactory = (callback: Callback) => FRCallback;//# sourceMappingURL=factory.d.ts.map
|
|
169
218
|
|
|
170
|
-
|
|
219
|
+
declare enum ActionTypes {
|
|
220
|
+
Authenticate = "AUTHENTICATE",
|
|
221
|
+
Authorize = "AUTHORIZE",
|
|
222
|
+
EndSession = "END_SESSION",
|
|
223
|
+
Logout = "LOGOUT",
|
|
224
|
+
ExchangeToken = "EXCHANGE_TOKEN",
|
|
225
|
+
RefreshToken = "REFRESH_TOKEN",
|
|
226
|
+
ResumeAuthenticate = "RESUME_AUTHENTICATE",
|
|
227
|
+
RevokeToken = "REVOKE_TOKEN",
|
|
228
|
+
StartAuthenticate = "START_AUTHENTICATE",
|
|
229
|
+
UserInfo = "USER_INFO",
|
|
230
|
+
WellKnown = "WELL_KNOWN"
|
|
231
|
+
}
|
|
171
232
|
|
|
172
233
|
type LogLevel = 'none' | 'info' | 'warn' | 'error' | 'debug';
|
|
173
234
|
interface Action {
|
|
@@ -200,6 +261,8 @@ interface ConfigOptions {
|
|
|
200
261
|
oauthThreshold?: number;
|
|
201
262
|
logLevel?: LogLevel;
|
|
202
263
|
logger?: LoggerFunctions;
|
|
264
|
+
platformHeader?: boolean;
|
|
265
|
+
prefix?: string;
|
|
203
266
|
}
|
|
204
267
|
/**
|
|
205
268
|
* Optional configuration for custom paths for actions
|
|
@@ -234,6 +297,13 @@ interface TokenStoreObject {
|
|
|
234
297
|
set: (clientId: string, token: Tokens) => Promise<void>;
|
|
235
298
|
remove: (clientId: string) => Promise<void>;
|
|
236
299
|
}
|
|
300
|
+
/**
|
|
301
|
+
* Represents configuration overrides used when requesting the next
|
|
302
|
+
* step in an authentication tree.
|
|
303
|
+
*/
|
|
304
|
+
interface StepOptions extends ConfigOptions {
|
|
305
|
+
query?: StringDict<string>;
|
|
306
|
+
}//# sourceMappingURL=interfaces.d.ts.map
|
|
237
307
|
|
|
238
308
|
/**
|
|
239
309
|
* Types of steps returned by the authentication tree.
|
|
@@ -243,6 +313,7 @@ declare enum StepType {
|
|
|
243
313
|
LoginSuccess = "LoginSuccess",
|
|
244
314
|
Step = "Step"
|
|
245
315
|
}
|
|
316
|
+
//# sourceMappingURL=enums.d.ts.map
|
|
246
317
|
|
|
247
318
|
/**
|
|
248
319
|
* Base interface for all types of authentication step responses.
|
|
@@ -256,6 +327,7 @@ interface AuthResponse {
|
|
|
256
327
|
interface FailureDetail {
|
|
257
328
|
failureUrl?: string;
|
|
258
329
|
}
|
|
330
|
+
//# sourceMappingURL=interfaces.d.ts.map
|
|
259
331
|
|
|
260
332
|
/**
|
|
261
333
|
* Represents a single step of an authentication tree.
|
|
@@ -307,7 +379,7 @@ declare class FRStep implements AuthResponse {
|
|
|
307
379
|
*/
|
|
308
380
|
getStage(): string | undefined;
|
|
309
381
|
private convertCallbacks;
|
|
310
|
-
}
|
|
382
|
+
}//# sourceMappingURL=fr-step.d.ts.map
|
|
311
383
|
|
|
312
384
|
declare type HandleStep = (step: FRStep) => Promise<FRStep>;
|
|
313
385
|
/**
|
|
@@ -364,6 +436,7 @@ declare abstract class HttpClient {
|
|
|
364
436
|
private static stepIterator;
|
|
365
437
|
private static _request;
|
|
366
438
|
}
|
|
439
|
+
//# sourceMappingURL=index.d.ts.map
|
|
367
440
|
|
|
368
441
|
declare function noop(): void;
|
|
369
442
|
|
|
@@ -417,7 +490,7 @@ declare class SvelteComponent {
|
|
|
417
490
|
|
|
418
491
|
declare type Props = Record<string, any>;
|
|
419
492
|
interface ComponentConstructorOptions<Props extends Record<string, any> = Record<string, any>> {
|
|
420
|
-
target: Element |
|
|
493
|
+
target: Element | ShadowRoot;
|
|
421
494
|
anchor?: Element;
|
|
422
495
|
props?: Props;
|
|
423
496
|
context?: Map<any, any>;
|
|
@@ -544,6 +617,16 @@ interface ComponentStoreValue {
|
|
|
544
617
|
type: 'inline' | 'modal' | null;
|
|
545
618
|
}
|
|
546
619
|
|
|
620
|
+
/**
|
|
621
|
+
* Tokens returned after successful authentication.
|
|
622
|
+
*/
|
|
623
|
+
interface OAuth2Tokens {
|
|
624
|
+
accessToken: string;
|
|
625
|
+
idToken?: string;
|
|
626
|
+
refreshToken?: string;
|
|
627
|
+
tokenExpiry?: number;
|
|
628
|
+
}//# sourceMappingURL=interfaces.d.ts.map
|
|
629
|
+
|
|
547
630
|
interface MessageCreator {
|
|
548
631
|
[key: string]: (propertyName: string, params?: {
|
|
549
632
|
[key: string]: unknown;
|
|
@@ -553,72 +636,65 @@ interface ProcessedPropertyError {
|
|
|
553
636
|
detail: FailedPolicyRequirement;
|
|
554
637
|
messages: string[];
|
|
555
638
|
}
|
|
639
|
+
//# sourceMappingURL=interfaces.d.ts.map
|
|
556
640
|
|
|
557
|
-
declare class
|
|
641
|
+
declare class FRLoginSuccess implements AuthResponse {
|
|
558
642
|
payload: Step;
|
|
559
643
|
/**
|
|
560
644
|
* The type of step.
|
|
561
645
|
*/
|
|
562
|
-
readonly type = StepType.
|
|
646
|
+
readonly type = StepType.LoginSuccess;
|
|
563
647
|
/**
|
|
564
648
|
* @param payload The raw payload returned by OpenAM
|
|
565
649
|
*/
|
|
566
650
|
constructor(payload: Step);
|
|
567
651
|
/**
|
|
568
|
-
* Gets the
|
|
569
|
-
*/
|
|
570
|
-
getCode(): number;
|
|
571
|
-
/**
|
|
572
|
-
* Gets the failure details.
|
|
573
|
-
*/
|
|
574
|
-
getDetail(): FailureDetail | undefined;
|
|
575
|
-
/**
|
|
576
|
-
* Gets the failure message.
|
|
652
|
+
* Gets the step's realm.
|
|
577
653
|
*/
|
|
578
|
-
|
|
654
|
+
getRealm(): string | undefined;
|
|
579
655
|
/**
|
|
580
|
-
* Gets
|
|
656
|
+
* Gets the step's session token.
|
|
581
657
|
*/
|
|
582
|
-
|
|
658
|
+
getSessionToken(): string | undefined;
|
|
583
659
|
/**
|
|
584
|
-
* Gets the
|
|
660
|
+
* Gets the step's success URL.
|
|
585
661
|
*/
|
|
586
|
-
|
|
662
|
+
getSuccessUrl(): string | undefined;
|
|
587
663
|
}
|
|
664
|
+
//# sourceMappingURL=fr-login-success.d.ts.map
|
|
588
665
|
|
|
589
|
-
declare class
|
|
666
|
+
declare class FRLoginFailure implements AuthResponse {
|
|
590
667
|
payload: Step;
|
|
591
668
|
/**
|
|
592
669
|
* The type of step.
|
|
593
670
|
*/
|
|
594
|
-
readonly type = StepType.
|
|
671
|
+
readonly type = StepType.LoginFailure;
|
|
595
672
|
/**
|
|
596
673
|
* @param payload The raw payload returned by OpenAM
|
|
597
674
|
*/
|
|
598
675
|
constructor(payload: Step);
|
|
599
676
|
/**
|
|
600
|
-
* Gets the
|
|
677
|
+
* Gets the error code.
|
|
601
678
|
*/
|
|
602
|
-
|
|
679
|
+
getCode(): number;
|
|
603
680
|
/**
|
|
604
|
-
* Gets the
|
|
681
|
+
* Gets the failure details.
|
|
605
682
|
*/
|
|
606
|
-
|
|
683
|
+
getDetail(): FailureDetail | undefined;
|
|
607
684
|
/**
|
|
608
|
-
* Gets the
|
|
685
|
+
* Gets the failure message.
|
|
609
686
|
*/
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
refreshToken?: string;
|
|
620
|
-
tokenExpiry?: number;
|
|
687
|
+
getMessage(): string | undefined;
|
|
688
|
+
/**
|
|
689
|
+
* Gets processed failure message.
|
|
690
|
+
*/
|
|
691
|
+
getProcessedMessage(messageCreator?: MessageCreator): ProcessedPropertyError[];
|
|
692
|
+
/**
|
|
693
|
+
* Gets the failure reason.
|
|
694
|
+
*/
|
|
695
|
+
getReason(): string | undefined;
|
|
621
696
|
}
|
|
697
|
+
//# sourceMappingURL=fr-login-failure.d.ts.map
|
|
622
698
|
|
|
623
699
|
type Maybe<T> = T | null | undefined;
|
|
624
700
|
|
|
@@ -670,9 +746,10 @@ interface JourneyStoreValue {
|
|
|
670
746
|
callbacks: CallbackMetadata[];
|
|
671
747
|
step: StepMetadata;
|
|
672
748
|
} | null;
|
|
673
|
-
step
|
|
749
|
+
step?: StepTypes;
|
|
674
750
|
successful: boolean;
|
|
675
751
|
response: Maybe<Step>;
|
|
752
|
+
recaptchaAction?: Maybe<string>;
|
|
676
753
|
}
|
|
677
754
|
interface StepMetadata {
|
|
678
755
|
derived: {
|
|
@@ -709,7 +786,7 @@ declare namespace util {
|
|
|
709
786
|
export const isInteger: NumberConstructor["isInteger"];
|
|
710
787
|
export function joinValues<T extends any[]>(array: T, separator?: string): string;
|
|
711
788
|
export const jsonStringifyReplacer: (_: string, value: any) => any;
|
|
712
|
-
export {};
|
|
789
|
+
export { };
|
|
713
790
|
}
|
|
714
791
|
declare namespace objectUtil {
|
|
715
792
|
export type MergeShapes<U, V> = {
|
|
@@ -731,7 +808,7 @@ declare namespace objectUtil {
|
|
|
731
808
|
}>;
|
|
732
809
|
export const mergeShapes: <U, T>(first: U, second: T) => T & U;
|
|
733
810
|
export type extendShape<A, B> = flatten<Omit<A, keyof B> & B>;
|
|
734
|
-
export {};
|
|
811
|
+
export { };
|
|
735
812
|
}
|
|
736
813
|
declare const ZodParsedType: {
|
|
737
814
|
function: "function";
|
|
@@ -974,7 +1051,7 @@ declare namespace enumUtil {
|
|
|
974
1051
|
type UnionToTuple<T, Tuple extends unknown[] = []> = [T] extends [never] ? Tuple : UnionToTuple<Exclude<T, GetUnionLast<T>>, [GetUnionLast<T>, ...Tuple]>;
|
|
975
1052
|
type CastToStringTuple<T> = T extends [string, ...string[]] ? T : never;
|
|
976
1053
|
export type UnionToTupleString<T> = CastToStringTuple<UnionToTuple<T>>;
|
|
977
|
-
export {};
|
|
1054
|
+
export { };
|
|
978
1055
|
}
|
|
979
1056
|
|
|
980
1057
|
declare namespace errorUtil {
|
|
@@ -1743,6 +1820,7 @@ declare const partialConfigSchema: ZodObject<{
|
|
|
1743
1820
|
}[] | undefined;
|
|
1744
1821
|
}>], ZodUnknown>, ZodType<FRCallback, ZodTypeDef, FRCallback>>>>;
|
|
1745
1822
|
clientId: ZodOptional<ZodOptional<ZodString>>;
|
|
1823
|
+
logLevel: ZodOptional<ZodOptional<ZodUnion<[ZodLiteral<"none">, ZodLiteral<"error">, ZodLiteral<"warn">, ZodLiteral<"info">, ZodLiteral<"debug">]>>>;
|
|
1746
1824
|
middleware: ZodOptional<ZodOptional<ZodArray<ZodFunction<ZodTuple<[], ZodUnknown>, ZodUnknown>, "many">>>;
|
|
1747
1825
|
realmPath: ZodOptional<ZodString>;
|
|
1748
1826
|
redirectUri: ZodOptional<ZodOptional<ZodString>>;
|
|
@@ -1856,6 +1934,7 @@ declare const partialConfigSchema: ZodObject<{
|
|
|
1856
1934
|
}[] | undefined;
|
|
1857
1935
|
}, ...args_1: unknown[]) => FRCallback) | undefined;
|
|
1858
1936
|
clientId?: string | undefined;
|
|
1937
|
+
logLevel?: "none" | "error" | "info" | "warn" | "debug" | undefined;
|
|
1859
1938
|
middleware?: ((...args: unknown[]) => unknown)[] | undefined;
|
|
1860
1939
|
realmPath?: string | undefined;
|
|
1861
1940
|
redirectUri?: string | undefined;
|
|
@@ -1901,6 +1980,7 @@ declare const partialConfigSchema: ZodObject<{
|
|
|
1901
1980
|
}[] | undefined;
|
|
1902
1981
|
}, ...args_1: unknown[]) => FRCallback) | undefined;
|
|
1903
1982
|
clientId?: string | undefined;
|
|
1983
|
+
logLevel?: "none" | "error" | "info" | "warn" | "debug" | undefined;
|
|
1904
1984
|
middleware?: ((...args: unknown[]) => unknown)[] | undefined;
|
|
1905
1985
|
realmPath?: string | undefined;
|
|
1906
1986
|
redirectUri?: string | undefined;
|
|
@@ -2039,6 +2119,7 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2039
2119
|
customSecurityQuestion: ZodOptional<ZodString>;
|
|
2040
2120
|
dontGetLockedOut: ZodOptional<ZodString>;
|
|
2041
2121
|
doesNotMeetMinimumCharacterLength: ZodOptional<ZodString>;
|
|
2122
|
+
deviceName: ZodOptional<ZodString>;
|
|
2042
2123
|
ensurePasswordIsMoreThan: ZodOptional<ZodString>;
|
|
2043
2124
|
ensurePasswordHasOne: ZodOptional<ZodString>;
|
|
2044
2125
|
enterVerificationCode: ZodOptional<ZodString>;
|
|
@@ -2060,11 +2141,14 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2060
2141
|
minimumNumberOfUppercase: ZodOptional<ZodString>;
|
|
2061
2142
|
minimumNumberOfSymbols: ZodOptional<ZodString>;
|
|
2062
2143
|
nameCallback: ZodOptional<ZodString>;
|
|
2144
|
+
nameYourDevice: ZodOptional<ZodString>;
|
|
2063
2145
|
next: ZodOptional<ZodString>;
|
|
2064
2146
|
nextButton: ZodOptional<ZodString>;
|
|
2065
2147
|
notToExceedMaximumCharacterLength: ZodOptional<ZodString>;
|
|
2066
2148
|
noLessThanMinimumCharacterLength: ZodOptional<ZodString>;
|
|
2149
|
+
useOneOfTheseCodes: ZodOptional<ZodString>;
|
|
2067
2150
|
onMobileOpenInAuthenticator: ZodOptional<ZodString>;
|
|
2151
|
+
optionallyNameDevice: ZodOptional<ZodString>;
|
|
2068
2152
|
passwordCallback: ZodOptional<ZodString>;
|
|
2069
2153
|
passwordCannotContainCommonPasswords: ZodOptional<ZodString>;
|
|
2070
2154
|
passwordCannotContainCommonPasswordsOrBeReversible: ZodOptional<ZodString>;
|
|
@@ -2093,6 +2177,8 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2093
2177
|
shouldContainALowercase: ZodOptional<ZodString>;
|
|
2094
2178
|
shouldContainASymbol: ZodOptional<ZodString>;
|
|
2095
2179
|
showPassword: ZodOptional<ZodString>;
|
|
2180
|
+
signalsEvaluation: ZodOptional<ZodString>;
|
|
2181
|
+
skipButton: ZodOptional<ZodString>;
|
|
2096
2182
|
sn: ZodOptional<ZodString>;
|
|
2097
2183
|
submit: ZodOptional<ZodString>;
|
|
2098
2184
|
submitButton: ZodOptional<ZodString>;
|
|
@@ -2115,6 +2201,7 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2115
2201
|
validatedCreateUsernameCallback: ZodOptional<ZodString>;
|
|
2116
2202
|
valueRequirements: ZodOptional<ZodString>;
|
|
2117
2203
|
verifyYourIdentity: ZodOptional<ZodString>;
|
|
2204
|
+
yourDevice: ZodOptional<ZodString>;
|
|
2118
2205
|
yourMultiFactorAuthIsEnabled: ZodOptional<ZodString>;
|
|
2119
2206
|
yourRecoveryCodesToAccessAccountForLostDevice: ZodOptional<ZodString>;
|
|
2120
2207
|
}, "strict", ZodTypeAny, {
|
|
@@ -2137,6 +2224,7 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2137
2224
|
customSecurityQuestion?: string | undefined;
|
|
2138
2225
|
dontGetLockedOut?: string | undefined;
|
|
2139
2226
|
doesNotMeetMinimumCharacterLength?: string | undefined;
|
|
2227
|
+
deviceName?: string | undefined;
|
|
2140
2228
|
ensurePasswordIsMoreThan?: string | undefined;
|
|
2141
2229
|
ensurePasswordHasOne?: string | undefined;
|
|
2142
2230
|
enterVerificationCode?: string | undefined;
|
|
@@ -2158,11 +2246,14 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2158
2246
|
minimumNumberOfUppercase?: string | undefined;
|
|
2159
2247
|
minimumNumberOfSymbols?: string | undefined;
|
|
2160
2248
|
nameCallback?: string | undefined;
|
|
2249
|
+
nameYourDevice?: string | undefined;
|
|
2161
2250
|
next?: string | undefined;
|
|
2162
2251
|
nextButton?: string | undefined;
|
|
2163
2252
|
notToExceedMaximumCharacterLength?: string | undefined;
|
|
2164
2253
|
noLessThanMinimumCharacterLength?: string | undefined;
|
|
2254
|
+
useOneOfTheseCodes?: string | undefined;
|
|
2165
2255
|
onMobileOpenInAuthenticator?: string | undefined;
|
|
2256
|
+
optionallyNameDevice?: string | undefined;
|
|
2166
2257
|
passwordCallback?: string | undefined;
|
|
2167
2258
|
passwordCannotContainCommonPasswords?: string | undefined;
|
|
2168
2259
|
passwordCannotContainCommonPasswordsOrBeReversible?: string | undefined;
|
|
@@ -2191,6 +2282,8 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2191
2282
|
shouldContainALowercase?: string | undefined;
|
|
2192
2283
|
shouldContainASymbol?: string | undefined;
|
|
2193
2284
|
showPassword?: string | undefined;
|
|
2285
|
+
signalsEvaluation?: string | undefined;
|
|
2286
|
+
skipButton?: string | undefined;
|
|
2194
2287
|
sn?: string | undefined;
|
|
2195
2288
|
submit?: string | undefined;
|
|
2196
2289
|
submitButton?: string | undefined;
|
|
@@ -2213,6 +2306,7 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2213
2306
|
validatedCreateUsernameCallback?: string | undefined;
|
|
2214
2307
|
valueRequirements?: string | undefined;
|
|
2215
2308
|
verifyYourIdentity?: string | undefined;
|
|
2309
|
+
yourDevice?: string | undefined;
|
|
2216
2310
|
yourMultiFactorAuthIsEnabled?: string | undefined;
|
|
2217
2311
|
yourRecoveryCodesToAccessAccountForLostDevice?: string | undefined;
|
|
2218
2312
|
}, {
|
|
@@ -2235,6 +2329,7 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2235
2329
|
customSecurityQuestion?: string | undefined;
|
|
2236
2330
|
dontGetLockedOut?: string | undefined;
|
|
2237
2331
|
doesNotMeetMinimumCharacterLength?: string | undefined;
|
|
2332
|
+
deviceName?: string | undefined;
|
|
2238
2333
|
ensurePasswordIsMoreThan?: string | undefined;
|
|
2239
2334
|
ensurePasswordHasOne?: string | undefined;
|
|
2240
2335
|
enterVerificationCode?: string | undefined;
|
|
@@ -2256,11 +2351,14 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2256
2351
|
minimumNumberOfUppercase?: string | undefined;
|
|
2257
2352
|
minimumNumberOfSymbols?: string | undefined;
|
|
2258
2353
|
nameCallback?: string | undefined;
|
|
2354
|
+
nameYourDevice?: string | undefined;
|
|
2259
2355
|
next?: string | undefined;
|
|
2260
2356
|
nextButton?: string | undefined;
|
|
2261
2357
|
notToExceedMaximumCharacterLength?: string | undefined;
|
|
2262
2358
|
noLessThanMinimumCharacterLength?: string | undefined;
|
|
2359
|
+
useOneOfTheseCodes?: string | undefined;
|
|
2263
2360
|
onMobileOpenInAuthenticator?: string | undefined;
|
|
2361
|
+
optionallyNameDevice?: string | undefined;
|
|
2264
2362
|
passwordCallback?: string | undefined;
|
|
2265
2363
|
passwordCannotContainCommonPasswords?: string | undefined;
|
|
2266
2364
|
passwordCannotContainCommonPasswordsOrBeReversible?: string | undefined;
|
|
@@ -2289,6 +2387,8 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2289
2387
|
shouldContainALowercase?: string | undefined;
|
|
2290
2388
|
shouldContainASymbol?: string | undefined;
|
|
2291
2389
|
showPassword?: string | undefined;
|
|
2390
|
+
signalsEvaluation?: string | undefined;
|
|
2391
|
+
skipButton?: string | undefined;
|
|
2292
2392
|
sn?: string | undefined;
|
|
2293
2393
|
submit?: string | undefined;
|
|
2294
2394
|
submitButton?: string | undefined;
|
|
@@ -2311,6 +2411,7 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2311
2411
|
validatedCreateUsernameCallback?: string | undefined;
|
|
2312
2412
|
valueRequirements?: string | undefined;
|
|
2313
2413
|
verifyYourIdentity?: string | undefined;
|
|
2414
|
+
yourDevice?: string | undefined;
|
|
2314
2415
|
yourMultiFactorAuthIsEnabled?: string | undefined;
|
|
2315
2416
|
yourRecoveryCodesToAccessAccountForLostDevice?: string | undefined;
|
|
2316
2417
|
}>;
|
|
@@ -2318,6 +2419,7 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2318
2419
|
declare const partialStyleSchema: ZodObject<{
|
|
2319
2420
|
checksAndRadios: ZodOptional<ZodOptional<ZodUnion<[ZodLiteral<"animated">, ZodLiteral<"standard">]>>>;
|
|
2320
2421
|
labels: ZodOptional<ZodOptional<ZodUnion<[ZodOptional<ZodLiteral<"floating">>, ZodLiteral<"stacked">]>>>;
|
|
2422
|
+
showPassword: ZodOptional<ZodOptional<ZodUnion<[ZodLiteral<"none">, ZodLiteral<"button">, ZodLiteral<"checkbox">]>>>;
|
|
2321
2423
|
logo: ZodOptional<ZodOptional<ZodObject<{
|
|
2322
2424
|
dark: ZodOptional<ZodString>;
|
|
2323
2425
|
height: ZodOptional<ZodNumber>;
|
|
@@ -2351,6 +2453,7 @@ declare const partialStyleSchema: ZodObject<{
|
|
|
2351
2453
|
}, "strict", ZodTypeAny, {
|
|
2352
2454
|
checksAndRadios?: "standard" | "animated" | undefined;
|
|
2353
2455
|
labels?: "floating" | "stacked" | undefined;
|
|
2456
|
+
showPassword?: "none" | "button" | "checkbox" | undefined;
|
|
2354
2457
|
logo?: {
|
|
2355
2458
|
dark?: string | undefined;
|
|
2356
2459
|
height?: number | undefined;
|
|
@@ -2366,6 +2469,7 @@ declare const partialStyleSchema: ZodObject<{
|
|
|
2366
2469
|
}, {
|
|
2367
2470
|
checksAndRadios?: "standard" | "animated" | undefined;
|
|
2368
2471
|
labels?: "floating" | "stacked" | undefined;
|
|
2472
|
+
showPassword?: "none" | "button" | "checkbox" | undefined;
|
|
2369
2473
|
logo?: {
|
|
2370
2474
|
dark?: string | undefined;
|
|
2371
2475
|
height?: number | undefined;
|
|
@@ -2392,6 +2496,7 @@ interface JourneyOptionsStart {
|
|
|
2392
2496
|
forgerock?: StepOptions;
|
|
2393
2497
|
journey?: string;
|
|
2394
2498
|
resumeUrl?: string;
|
|
2499
|
+
recaptchaAction?: string;
|
|
2395
2500
|
}
|
|
2396
2501
|
interface WidgetConfigOptions {
|
|
2397
2502
|
forgerock?: TypeOf<typeof partialConfigSchema>;
|
|
@@ -2436,6 +2541,12 @@ declare const user: {
|
|
|
2436
2541
|
subscribe: (this: void, run: Subscriber<OAuthTokenStoreValue>, invalidate?: ((value?: OAuthTokenStoreValue | undefined) => void) | undefined) => Unsubscriber;
|
|
2437
2542
|
};
|
|
2438
2543
|
};
|
|
2544
|
+
declare const protect: {
|
|
2545
|
+
start: typeof PIProtect.start;
|
|
2546
|
+
getData: typeof PIProtect.getData;
|
|
2547
|
+
pauseBehavioralData: typeof PIProtect.pauseBehavioralData;
|
|
2548
|
+
resumeBehavioralData: typeof PIProtect.resumeBehavioralData;
|
|
2549
|
+
};
|
|
2439
2550
|
declare const __propDef: {
|
|
2440
2551
|
props: {
|
|
2441
2552
|
type?: "inline" | "modal" | undefined;
|
|
@@ -2451,4 +2562,4 @@ type IndexSlots = typeof __propDef.slots;
|
|
|
2451
2562
|
declare class Index extends SvelteComponentTyped<IndexProps, IndexEvents, IndexSlots> {
|
|
2452
2563
|
}
|
|
2453
2564
|
|
|
2454
|
-
export { IndexEvents, IndexProps, IndexSlots, component, configuration, Index as default, journey, request, user };
|
|
2565
|
+
export { type IndexEvents, type IndexProps, type IndexSlots, component, configuration, Index as default, journey, protect, request, user };
|