@idsoftsource/initial-process 4.1.3 → 4.1.4
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/index.d.ts
CHANGED
|
@@ -4647,56 +4647,38 @@ interface AppBranding {
|
|
|
4647
4647
|
logo: string;
|
|
4648
4648
|
displayName: string;
|
|
4649
4649
|
}
|
|
4650
|
-
declare class MaintenanceComponent {
|
|
4650
|
+
declare class MaintenanceComponent implements OnInit {
|
|
4651
|
+
private router;
|
|
4652
|
+
private tokenService;
|
|
4651
4653
|
branding: AppBranding;
|
|
4652
4654
|
currentYear: number;
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
+
page: boolean;
|
|
4656
|
+
constructor(router: Router, tokenService: TokenService, libConfig?: LibraryConfig);
|
|
4657
|
+
ngOnInit(): void;
|
|
4658
|
+
checkModule(): Promise<void>;
|
|
4659
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaintenanceComponent, [null, null, { optional: true; }]>;
|
|
4655
4660
|
static ɵcmp: i0.ɵɵComponentDeclaration<MaintenanceComponent, "app-maintenance", never, {}, {}, never, never, true, never>;
|
|
4656
4661
|
}
|
|
4657
4662
|
|
|
4658
|
-
|
|
4659
|
-
* Where a signed-in user with an unverified email lands.
|
|
4660
|
-
*
|
|
4661
|
-
* - **Re-checks on arrival and on demand.** Verification happens in the
|
|
4662
|
-
* user's mail client, in another tab, so the claim in this tab's token is
|
|
4663
|
-
* stale by definition. `getAccessTokenSilently({ cacheMode: 'off' })`
|
|
4664
|
-
* re-issues it, and a fresh `email_verified` moves them straight on — via
|
|
4665
|
-
* `replaceUrl`, so this page doesn't sit in their back history.
|
|
4666
|
-
* - **Rate-limits the resend.** A 30-second cooldown after each successful
|
|
4667
|
-
* send, because the button is otherwise an open invitation to spam their
|
|
4668
|
-
* own inbox (and our sending reputation).
|
|
4669
|
-
*/
|
|
4670
|
-
declare class VerifyEmailComponent implements OnDestroy {
|
|
4663
|
+
declare class VerifyEmailComponent implements OnInit, OnDestroy {
|
|
4671
4664
|
private libConfig;
|
|
4672
|
-
|
|
4673
|
-
private
|
|
4674
|
-
private
|
|
4675
|
-
private
|
|
4676
|
-
private
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4665
|
+
userService: UserDetailService;
|
|
4666
|
+
private authLogoutService;
|
|
4667
|
+
private tokenService;
|
|
4668
|
+
private router;
|
|
4669
|
+
private auth;
|
|
4670
|
+
loading: boolean;
|
|
4671
|
+
successMessage: boolean;
|
|
4672
|
+
errorMessage: boolean;
|
|
4673
|
+
pageLoader: boolean;
|
|
4674
|
+
cooldown: number;
|
|
4675
|
+
interval: any;
|
|
4676
|
+
constructor(libConfig: LibraryConfig, userService: UserDetailService, authLogoutService: AuthLogoutService, tokenService: TokenService, router: Router, auth: AuthService);
|
|
4677
|
+
ngOnInit(): Promise<void>;
|
|
4678
|
+
resendVerification(): Promise<void>;
|
|
4679
|
+
startCooldown(): void;
|
|
4680
|
+
logout(): Promise<void>;
|
|
4688
4681
|
ngOnDestroy(): void;
|
|
4689
|
-
/**
|
|
4690
|
-
* Re-read the auth0 claims and leave once the address is verified.
|
|
4691
|
-
* `silent` keeps the page loader/error off the initial check, which
|
|
4692
|
-
* shouldn't look like an action the user started.
|
|
4693
|
-
*/
|
|
4694
|
-
protected recheck(silent?: boolean): void;
|
|
4695
|
-
protected resend(): void;
|
|
4696
|
-
protected logout(): Promise<void>;
|
|
4697
|
-
private startCooldown;
|
|
4698
|
-
private stopTimer;
|
|
4699
|
-
private showFailure;
|
|
4700
4682
|
static ɵfac: i0.ɵɵFactoryDeclaration<VerifyEmailComponent, never>;
|
|
4701
4683
|
static ɵcmp: i0.ɵɵComponentDeclaration<VerifyEmailComponent, "app-verify-email", never, {}, {}, never, never, true, never>;
|
|
4702
4684
|
}
|