@idea-ionic/auth 8.5.13 → 8.6.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.
Files changed (37) hide show
  1. package/fesm2022/idea-ionic-auth.mjs +52 -52
  2. package/fesm2022/idea-ionic-auth.mjs.map +1 -1
  3. package/index.d.ts +358 -3
  4. package/package.json +14 -16
  5. package/esm2022/idea-ionic-auth.mjs +0 -5
  6. package/esm2022/public-api.mjs +0 -15
  7. package/esm2022/src/auth.routes.mjs +0 -22
  8. package/esm2022/src/auth.service.mjs +0 -521
  9. package/esm2022/src/commonPasswords.model.mjs +0 -1003
  10. package/esm2022/src/confirmPassword.page.mjs +0 -309
  11. package/esm2022/src/forgotPassword.page.mjs +0 -178
  12. package/esm2022/src/mfaChallenge.page.mjs +0 -163
  13. package/esm2022/src/newPassword.page.mjs +0 -210
  14. package/esm2022/src/okta.page.mjs +0 -150
  15. package/esm2022/src/passwordPolicy.component.mjs +0 -80
  16. package/esm2022/src/resendLink.page.mjs +0 -176
  17. package/esm2022/src/setupMFA/setupMFAButton.component.mjs +0 -60
  18. package/esm2022/src/setupMFA/setupMFAModal.component.mjs +0 -176
  19. package/esm2022/src/setupMFA.page.mjs +0 -83
  20. package/esm2022/src/signIn.page.mjs +0 -498
  21. package/esm2022/src/signUp.page.mjs +0 -376
  22. package/public-api.d.ts +0 -14
  23. package/src/auth.routes.d.ts +0 -2
  24. package/src/auth.service.d.ts +0 -152
  25. package/src/commonPasswords.model.d.ts +0 -1
  26. package/src/confirmPassword.page.d.ts +0 -26
  27. package/src/forgotPassword.page.d.ts +0 -13
  28. package/src/mfaChallenge.page.d.ts +0 -16
  29. package/src/newPassword.page.d.ts +0 -22
  30. package/src/okta.page.d.ts +0 -20
  31. package/src/passwordPolicy.component.d.ts +0 -8
  32. package/src/resendLink.page.d.ts +0 -14
  33. package/src/setupMFA/setupMFAButton.component.d.ts +0 -23
  34. package/src/setupMFA/setupMFAModal.component.d.ts +0 -16
  35. package/src/setupMFA.page.d.ts +0 -8
  36. package/src/signIn.page.d.ts +0 -36
  37. package/src/signUp.page.d.ts +0 -26
package/index.d.ts CHANGED
@@ -1,5 +1,360 @@
1
+ import { Routes } from '@angular/router';
2
+ import { CognitoUser } from 'amazon-cognito-identity-js';
3
+ import { IDEATranslationsService, IDEAStorageService } from '@idea-ionic/common';
4
+ import * as i0 from '@angular/core';
5
+ import { OnInit, EventEmitter } from '@angular/core';
6
+
7
+ declare const routes: Routes;
8
+
1
9
  /**
2
- * Generated bundle index. Do not edit.
10
+ * Cognito wrapper to manage the authentication flow.
11
+ *
12
+ * Note: in IDEA's Cognito users pools, the email is an alias of the username.
3
13
  */
4
- /// <amd-module name="@idea-ionic/auth" />
5
- export * from './public-api';
14
+ declare class IDEAAuthService {
15
+ protected _env: any;
16
+ protected _translate: IDEATranslationsService;
17
+ protected _storage: IDEAStorageService;
18
+ /**
19
+ * The name of the Cognito's user attribute which contains the key of the last device to login in this project.
20
+ */
21
+ protected deviceKeyAttribute: string;
22
+ private userPool;
23
+ challengeUsername: string;
24
+ private challengePassword;
25
+ private newAccountJustRegistered;
26
+ private mfaProjectName;
27
+ private passwordPolicy;
28
+ constructor();
29
+ /**
30
+ * Prepare the necessary structure to get authorized in Cognito.
31
+ */
32
+ private prepareAuthDetails;
33
+ /**
34
+ * Prepare the necessary structure to identify a Cognito user.
35
+ */
36
+ prepareCognitoUser(username: string): CognitoUser;
37
+ /**
38
+ * Prepare a user attribute (they are all strings) in Cognito's format.
39
+ */
40
+ private prepareUserAttribute;
41
+ /**
42
+ * Perform a login through username and password.
43
+ */
44
+ login(username: string, password: string): Promise<LoginOutcomeActions>;
45
+ /**
46
+ * Complete the new password flow in the authentication.
47
+ */
48
+ confirmNewPassword(newPassword: string): Promise<void>;
49
+ /**
50
+ * Complete the MFA challenge flow in the authentication.
51
+ */
52
+ completeMFAChallenge(otpCode: string): Promise<void>;
53
+ /**
54
+ * Register a new user a set its default attributes.
55
+ */
56
+ register(username: string, password: string, attributes?: any): Promise<CognitoUser>;
57
+ /**
58
+ * In case a new account has just been registered, return the username.
59
+ */
60
+ getNewAccountJustRegistered(): string;
61
+ /**
62
+ * Confirm a new registration through the confirmation code sent by Cognito.
63
+ */
64
+ confirmRegistration(username: string, code: string): Promise<void>;
65
+ /**
66
+ * Send again a confirmation code for a new registration.
67
+ */
68
+ resendConfirmationCode(username: string): Promise<void>;
69
+ /**
70
+ * Logout the currently signed-in user.
71
+ */
72
+ logout(options?: {
73
+ global: boolean;
74
+ }): Promise<void>;
75
+ /**
76
+ * Send a password reset request.
77
+ */
78
+ forgotPassword(username: string): Promise<void>;
79
+ /**
80
+ * Confirm a new password after a password reset request.
81
+ */
82
+ confirmPassword(username: string, code: string, newPwd: string): Promise<void>;
83
+ /**
84
+ * Gets the URL for enabling MFA. This URL can be used to generate a QR Code to read with an authenticator app.
85
+ */
86
+ getURLForEnablingMFA(): Promise<string>;
87
+ /**
88
+ * Check whether the user has MFA enabled.
89
+ */
90
+ checkIfUserHasMFAEnabled(bypassCache?: boolean): Promise<boolean>;
91
+ /**
92
+ * Configure a MFA device for the user.
93
+ */
94
+ private setMFADevice;
95
+ /**
96
+ * Enable a new MFA device for the user by inserting an OTP code generated by it.
97
+ */
98
+ enableMFA(otp: string, mfaDeviceName?: string): Promise<void>;
99
+ /**
100
+ * Disable MFA for a user by inserting an OTP code generated by it.
101
+ */
102
+ disableMFA(otp: string, mfaDeviceName?: string): Promise<void>;
103
+ /**
104
+ * Check if a user is currently authenticated.
105
+ * @param offlineAllowed if set and if offline, skip authentication and retrieve data locally
106
+ * @param getFreshIdTokenOnExp cb function to execute when the idToken is refreshed
107
+ */
108
+ isAuthenticated(offlineAllowed: boolean, getFreshIdTokenOnExp?: (freshIdToken: string) => void): Promise<any>;
109
+ /**
110
+ * Helper to refresh the session every N minutes.
111
+ */
112
+ private refreshSession;
113
+ /**
114
+ * Run some post-auth checks, based on the users groups and on the app's configuration:
115
+ * - users in the Cognito's "admins" grup skip all the following rules.
116
+ * - users in the Cognito's "robots" group can't sign-into front-ends (they serve only back-end purposes).
117
+ * - if `env.idea.auth.singleSimultaneousSession` is on, make sure there is only one active session per user.
118
+ */
119
+ private runPostAuthChecks;
120
+ /**
121
+ * Check whether the user signed-into multiple devices.
122
+ */
123
+ private checkForSimultaneousSessions;
124
+ /**
125
+ * Set (or reset) the current user's device (by key) in the current project (stored in Cognito).
126
+ */
127
+ private setCurrentDeviceForProject;
128
+ /**
129
+ * Update the currently logged in user's attributes.
130
+ */
131
+ updateUserAttributes(attributes: any): Promise<void>;
132
+ /**
133
+ * Validate the password against the policy set in the environments configuration.
134
+ * In case there are errors, they are returned as an array of strings.
135
+ */
136
+ validatePasswordAgainstPolicy(password: string): string[];
137
+ /**
138
+ * Validate the password against offline and online databases, to avoid common and exploited passwords.
139
+ */
140
+ validatePasswordAgainstDatabases(password: string, customStringsToAvoid?: string[]): Promise<string[]>;
141
+ /**
142
+ * Get a complete password policy pattern, based on the environments configuration, to use on password input fields.
143
+ * Note: some of the symbols couldn't be included because unsupported by the input[pattern] attribute.
144
+ */
145
+ getPasswordPolicyPatternForInput(): string;
146
+ static ɵfac: i0.ɵɵFactoryDeclaration<IDEAAuthService, never>;
147
+ static ɵprov: i0.ɵɵInjectableDeclaration<IDEAAuthService>;
148
+ }
149
+ /**
150
+ * The possible actions following a successful login.
151
+ */
152
+ declare enum LoginOutcomeActions {
153
+ NONE = "none",
154
+ NEW_PASSWORD = "newPassword",
155
+ MFA_CHALLENGE = "mfaChallenge",
156
+ MFA_SETUP = "mfaSetup"
157
+ }
158
+
159
+ declare class IDEASetupMFAButtonComponent implements OnInit {
160
+ private _modal;
161
+ private _auth;
162
+ /**
163
+ * The color of the button.
164
+ */
165
+ color: string;
166
+ /**
167
+ * The fill option for the button.
168
+ */
169
+ fill: string;
170
+ /**
171
+ * Trigger then the MFA setup changes.
172
+ */
173
+ change: EventEmitter<boolean>;
174
+ isMFAEnabled: boolean;
175
+ ngOnInit(): Promise<void>;
176
+ openMFAModal(): Promise<void>;
177
+ static ɵfac: i0.ɵɵFactoryDeclaration<IDEASetupMFAButtonComponent, never>;
178
+ static ɵcmp: i0.ɵɵComponentDeclaration<IDEASetupMFAButtonComponent, "idea-setup-mfa-button", never, { "color": { "alias": "color"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; }, { "change": "change"; }, never, never, true, never>;
179
+ }
180
+
181
+ declare class IDEASetupMFAModalComponent implements OnInit {
182
+ private _modal;
183
+ private _loading;
184
+ private _message;
185
+ private _auth;
186
+ otpCode: string;
187
+ isMFAEnabled: boolean;
188
+ ngOnInit(): Promise<void>;
189
+ private generateQRCodeCanvasByURL;
190
+ setMFA(enable: boolean): Promise<void>;
191
+ close(): void;
192
+ static ɵfac: i0.ɵɵFactoryDeclaration<IDEASetupMFAModalComponent, never>;
193
+ static ɵcmp: i0.ɵɵComponentDeclaration<IDEASetupMFAModalComponent, "idea-setup-mfa-modal", never, {}, {}, never, never, true, never>;
194
+ }
195
+
196
+ declare const COMMON_PASSWORDS_TOP_1000: string[];
197
+
198
+ declare class IDEAConfirmPasswordPage implements OnInit {
199
+ protected _env: any;
200
+ private _nav;
201
+ private _route;
202
+ private _popover;
203
+ private _message;
204
+ private _loading;
205
+ private _translate;
206
+ _auth: IDEAAuthService;
207
+ email: string;
208
+ newPassword: string;
209
+ code: string;
210
+ passwordPolicy: any;
211
+ errorMsg: string;
212
+ constructor();
213
+ ngOnInit(): void;
214
+ confirmPassword(): Promise<void>;
215
+ openPasswordPolicy(event: Event): Promise<void>;
216
+ goToForgotPassword(): void;
217
+ goToAuth(): void;
218
+ static ɵfac: i0.ɵɵFactoryDeclaration<IDEAConfirmPasswordPage, never>;
219
+ static ɵcmp: i0.ɵɵComponentDeclaration<IDEAConfirmPasswordPage, "idea-confirm-password", never, {}, {}, never, never, true, never>;
220
+ }
221
+
222
+ declare class IDEAForgotPasswordPage {
223
+ private _nav;
224
+ private _message;
225
+ private _loading;
226
+ private _auth;
227
+ email: string;
228
+ forgotPassword(): Promise<void>;
229
+ goToConfirmPassword(): void;
230
+ goToAuth(): void;
231
+ static ɵfac: i0.ɵɵFactoryDeclaration<IDEAForgotPasswordPage, never>;
232
+ static ɵcmp: i0.ɵɵComponentDeclaration<IDEAForgotPasswordPage, "idea-forgot-password", never, {}, {}, never, never, true, never>;
233
+ }
234
+
235
+ declare class IDEAMFAChallengePage implements OnInit {
236
+ private _nav;
237
+ private _message;
238
+ private _loading;
239
+ private _auth;
240
+ private _translate;
241
+ otpCode: string;
242
+ errorMsg: string;
243
+ ngOnInit(): void;
244
+ completeMFAChallenge(): Promise<void>;
245
+ goToAuth(): void;
246
+ static ɵfac: i0.ɵɵFactoryDeclaration<IDEAMFAChallengePage, never>;
247
+ static ɵcmp: i0.ɵɵComponentDeclaration<IDEAMFAChallengePage, "idea-mfa-challenge", never, {}, {}, never, never, true, never>;
248
+ }
249
+
250
+ declare class IDEANewPasswordPage implements OnInit {
251
+ protected _env: any;
252
+ private _nav;
253
+ private _popover;
254
+ private _message;
255
+ private _loading;
256
+ private _translate;
257
+ _auth: IDEAAuthService;
258
+ newPassword: string;
259
+ passwordPolicy: any;
260
+ errorMsg: string;
261
+ constructor();
262
+ ngOnInit(): void;
263
+ confirmNewPassword(): Promise<void>;
264
+ openPasswordPolicy(event: Event): Promise<void>;
265
+ goToAuth(): void;
266
+ static ɵfac: i0.ɵɵFactoryDeclaration<IDEANewPasswordPage, never>;
267
+ static ɵcmp: i0.ɵɵComponentDeclaration<IDEANewPasswordPage, "idea-new-password", never, {}, {}, never, never, true, never>;
268
+ }
269
+
270
+ declare class IDEAPasswordPolicyComponent {
271
+ protected _env: any;
272
+ passwordPolicy: any;
273
+ constructor();
274
+ static ɵfac: i0.ɵɵFactoryDeclaration<IDEAPasswordPolicyComponent, never>;
275
+ static ɵcmp: i0.ɵɵComponentDeclaration<IDEAPasswordPolicyComponent, "idea-password-policy", never, {}, {}, never, never, true, never>;
276
+ }
277
+
278
+ declare class IDEAResendLinkPage {
279
+ private _nav;
280
+ private _message;
281
+ private _loading;
282
+ private _auth;
283
+ private _translate;
284
+ email: string;
285
+ errorMsg: string;
286
+ resendConfirmationLink(): Promise<void>;
287
+ goToAuth(): void;
288
+ static ɵfac: i0.ɵɵFactoryDeclaration<IDEAResendLinkPage, never>;
289
+ static ɵcmp: i0.ɵɵComponentDeclaration<IDEAResendLinkPage, "idea-resend-link", never, {}, {}, never, never, true, never>;
290
+ }
291
+
292
+ declare class IDEASetupMFAPage {
293
+ private _nav;
294
+ reloadApp(): void;
295
+ goToAuth(): void;
296
+ static ɵfac: i0.ɵɵFactoryDeclaration<IDEASetupMFAPage, never>;
297
+ static ɵcmp: i0.ɵɵComponentDeclaration<IDEASetupMFAPage, "idea-mfa-setup", never, {}, {}, never, never, true, never>;
298
+ }
299
+
300
+ declare class IDEASignInPage {
301
+ protected _env: any;
302
+ private _nav;
303
+ private _message;
304
+ private _loading;
305
+ private _translate;
306
+ private _auth;
307
+ title: string;
308
+ registrationPossible: boolean;
309
+ hasIntroPage: boolean;
310
+ website: string;
311
+ externalProviders: {
312
+ type: string;
313
+ name: string;
314
+ emailDomains: string[];
315
+ }[];
316
+ doneExternalProviderCheck: boolean;
317
+ email: string;
318
+ password: string;
319
+ agreementsCheck: boolean;
320
+ newAccountRegistered: boolean;
321
+ errorMsg: string;
322
+ darkMode: boolean;
323
+ constructor();
324
+ ionViewDidEnter(): void;
325
+ login(): Promise<void>;
326
+ checkForExternalProviderEmail(): void;
327
+ goToIntro(): void;
328
+ goToForgotPassword(): void;
329
+ goToRegistration(): void;
330
+ translationExists(key: string): boolean;
331
+ openLink(url: string): Promise<void>;
332
+ static ɵfac: i0.ɵɵFactoryDeclaration<IDEASignInPage, never>;
333
+ static ɵcmp: i0.ɵɵComponentDeclaration<IDEASignInPage, "idea-sign-in", never, {}, {}, never, never, true, never>;
334
+ }
335
+
336
+ declare class IDEASignUpPage implements OnInit {
337
+ protected _env: any;
338
+ private _nav;
339
+ private _popover;
340
+ private _message;
341
+ private _loading;
342
+ private _translate;
343
+ _auth: IDEAAuthService;
344
+ email: string;
345
+ password: string;
346
+ agreementsCheck: boolean;
347
+ passwordPolicy: any;
348
+ errorMsg: string;
349
+ constructor();
350
+ ngOnInit(): void;
351
+ register(): Promise<void>;
352
+ translationExists(key: string): boolean;
353
+ openPasswordPolicy(event: Event): Promise<void>;
354
+ goToResendLink(): void;
355
+ goToAuth(): void;
356
+ static ɵfac: i0.ɵɵFactoryDeclaration<IDEASignUpPage, never>;
357
+ static ɵcmp: i0.ɵɵComponentDeclaration<IDEASignUpPage, "idea-sign-up", never, {}, {}, never, never, true, never>;
358
+ }
359
+
360
+ export { COMMON_PASSWORDS_TOP_1000, IDEAAuthService, IDEAConfirmPasswordPage, IDEAForgotPasswordPage, IDEAMFAChallengePage, IDEANewPasswordPage, IDEAPasswordPolicyComponent, IDEAResendLinkPage, IDEASetupMFAButtonComponent, IDEASetupMFAModalComponent, IDEASetupMFAPage, IDEASignInPage, IDEASignUpPage, LoginOutcomeActions, routes };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idea-ionic/auth",
3
- "version": "8.5.13",
3
+ "version": "8.6.0",
4
4
  "description": "IDEA Ionic auth flow",
5
5
  "license": "MPL-2.0",
6
6
  "author": "ITER IDEA <info@iter-idea.com> (https://iter-idea.com)",
@@ -18,24 +18,24 @@
18
18
  "url": "https://github.com/iter-idea/IDEA-Ionic8-extra/issues"
19
19
  },
20
20
  "peerDependencies": {
21
- "@angular/common": "^18.2.8",
22
- "@angular/core": "^18.2.8",
23
- "@angular/forms": "^18.2.8",
24
- "@angular/platform-browser": "^18.2.8",
25
- "@angular/platform-browser-dynamic": "^18.2.8",
26
- "@angular/router": "^18.2.8",
27
- "@capacitor/browser": "^6.0.1",
28
- "@capacitor/core": "^6.1.1",
21
+ "@angular/common": "^20.1.3",
22
+ "@angular/core": "^20.1.3",
23
+ "@angular/forms": "^20.1.3",
24
+ "@angular/platform-browser": "^20.1.3",
25
+ "@angular/platform-browser-dynamic": "^20.1.3",
26
+ "@angular/router": "^20.1.3",
27
+ "@capacitor/browser": "^7.0.1",
28
+ "@capacitor/core": "^7.4.2",
29
29
  "@idea-ionic/common": "^8.x.x",
30
- "@ionic/angular": "^8.0.0",
30
+ "@ionic/angular": "^8.6.5",
31
31
  "@ionic/storage-angular": "^4.0.0",
32
32
  "idea-toolbox": "^7.x.x",
33
- "qrcode": "^1.5.3",
33
+ "qrcode": "^1.5.4",
34
34
  "rxjs": "~7.8.0",
35
- "zone.js": "~0.14.10"
35
+ "zone.js": "~0.15.1"
36
36
  },
37
37
  "dependencies": {
38
- "amazon-cognito-identity-js": "^6.3.7",
38
+ "amazon-cognito-identity-js": "^6.3.15",
39
39
  "tslib": "^2.4.1"
40
40
  },
41
41
  "sideEffects": false,
@@ -47,9 +47,7 @@
47
47
  },
48
48
  ".": {
49
49
  "types": "./index.d.ts",
50
- "esm2022": "./esm2022/idea-ionic-auth.mjs",
51
- "esm": "./esm2022/idea-ionic-auth.mjs",
52
50
  "default": "./fesm2022/idea-ionic-auth.mjs"
53
51
  }
54
52
  }
55
- }
53
+ }
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './public-api';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlYS1pb25pYy1hdXRoLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vbW9kdWxlcy9hdXRoL2lkZWEtaW9uaWMtYXV0aC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
@@ -1,15 +0,0 @@
1
- export * from './src/auth.routes';
2
- export * from './src/auth.service';
3
- export * from './src/setupMFA/setupMFAButton.component';
4
- export * from './src/setupMFA/setupMFAModal.component';
5
- export * from './src/commonPasswords.model';
6
- export * from './src/confirmPassword.page';
7
- export * from './src/forgotPassword.page';
8
- export * from './src/mfaChallenge.page';
9
- export * from './src/newPassword.page';
10
- export * from './src/passwordPolicy.component';
11
- export * from './src/resendLink.page';
12
- export * from './src/setupMFA.page';
13
- export * from './src/signIn.page';
14
- export * from './src/signUp.page';
15
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL21vZHVsZXMvYXV0aC9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsbUJBQW1CLENBQUM7QUFFbEMsY0FBYyxvQkFBb0IsQ0FBQztBQUVuQyxjQUFjLHlDQUF5QyxDQUFDO0FBQ3hELGNBQWMsd0NBQXdDLENBQUM7QUFFdkQsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxjQUFjLDRCQUE0QixDQUFDO0FBQzNDLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyx5QkFBeUIsQ0FBQztBQUN4QyxjQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLGNBQWMsZ0NBQWdDLENBQUM7QUFDL0MsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLHFCQUFxQixDQUFDO0FBQ3BDLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyxtQkFBbUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc3JjL2F1dGgucm91dGVzJztcblxuZXhwb3J0ICogZnJvbSAnLi9zcmMvYXV0aC5zZXJ2aWNlJztcblxuZXhwb3J0ICogZnJvbSAnLi9zcmMvc2V0dXBNRkEvc2V0dXBNRkFCdXR0b24uY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vc3JjL3NldHVwTUZBL3NldHVwTUZBTW9kYWwuY29tcG9uZW50JztcblxuZXhwb3J0ICogZnJvbSAnLi9zcmMvY29tbW9uUGFzc3dvcmRzLm1vZGVsJztcbmV4cG9ydCAqIGZyb20gJy4vc3JjL2NvbmZpcm1QYXNzd29yZC5wYWdlJztcbmV4cG9ydCAqIGZyb20gJy4vc3JjL2ZvcmdvdFBhc3N3b3JkLnBhZ2UnO1xuZXhwb3J0ICogZnJvbSAnLi9zcmMvbWZhQ2hhbGxlbmdlLnBhZ2UnO1xuZXhwb3J0ICogZnJvbSAnLi9zcmMvbmV3UGFzc3dvcmQucGFnZSc7XG5leHBvcnQgKiBmcm9tICcuL3NyYy9wYXNzd29yZFBvbGljeS5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9zcmMvcmVzZW5kTGluay5wYWdlJztcbmV4cG9ydCAqIGZyb20gJy4vc3JjL3NldHVwTUZBLnBhZ2UnO1xuZXhwb3J0ICogZnJvbSAnLi9zcmMvc2lnbkluLnBhZ2UnO1xuZXhwb3J0ICogZnJvbSAnLi9zcmMvc2lnblVwLnBhZ2UnO1xuIl19
@@ -1,22 +0,0 @@
1
- import { IDEASignInPage } from './signIn.page';
2
- import { IDEASignUpPage } from './signUp.page';
3
- import { IDEANewPasswordPage } from './newPassword.page';
4
- import { IDEAResendLinkPage } from './resendLink.page';
5
- import { IDEAForgotPasswordPage } from './forgotPassword.page';
6
- import { IDEAConfirmPasswordPage } from './confirmPassword.page';
7
- import { IDEAMFAChallengePage } from './mfaChallenge.page';
8
- import { IDEASetupMFAPage } from './setupMFA.page';
9
- import { IDEAOktaPage } from './okta.page';
10
- export const routes = [
11
- { path: '', redirectTo: 'sign-in', pathMatch: 'full' },
12
- { path: 'sign-in', component: IDEASignInPage },
13
- { path: 'sign-up', component: IDEASignUpPage },
14
- { path: 'new-password', component: IDEANewPasswordPage },
15
- { path: 'mfa-challenge', component: IDEAMFAChallengePage },
16
- { path: 'setup-mfa', component: IDEASetupMFAPage },
17
- { path: 'resend-link', component: IDEAResendLinkPage },
18
- { path: 'forgot-password', component: IDEAForgotPasswordPage },
19
- { path: 'confirm-password', component: IDEAConfirmPasswordPage },
20
- { path: 'okta', component: IDEAOktaPage }
21
- ];
22
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC5yb3V0ZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9tb2R1bGVzL2F1dGgvc3JjL2F1dGgucm91dGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDL0MsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMvQyxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUN6RCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUN2RCxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUMvRCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUNqRSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUMzRCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUNuRCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sYUFBYSxDQUFDO0FBRTNDLE1BQU0sQ0FBQyxNQUFNLE1BQU0sR0FBVztJQUM1QixFQUFFLElBQUksRUFBRSxFQUFFLEVBQUUsVUFBVSxFQUFFLFNBQ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