ngx-sp-auth 4.23.5 → 4.23.7
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.
|
@@ -17,8 +17,9 @@ export declare class LoginGuard {
|
|
|
17
17
|
* @param route Rota atual
|
|
18
18
|
* @param segments Segmentos.
|
|
19
19
|
* @returns
|
|
20
|
-
|
|
20
|
+
*/
|
|
21
21
|
canLoad(_route: Route, _segments: UrlSegment[]): boolean | UrlTree | Observable<boolean | UrlTree> | Promise<boolean | UrlTree>;
|
|
22
|
+
canMatch(_route: Route, segments: UrlSegment[]): Observable<boolean | UrlTree>;
|
|
22
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoginGuard, never>;
|
|
23
24
|
static ɵprov: i0.ɵɵInjectableDeclaration<LoginGuard>;
|
|
24
25
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpBackend } from '@angular/common/http';
|
|
2
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
2
|
import { Router } from '@angular/router';
|
|
4
3
|
import { RetError } from 'ngx-sp-infra';
|
|
4
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
5
5
|
import { LibCustomEnvironmentService } from '../custom/lib-custom-environment.service';
|
|
6
6
|
import { LibCustomStorageService } from '../custom/lib-custom-storage.service';
|
|
7
7
|
import { IndexedDBService } from '../services/indexed-db.service';
|
|
@@ -13,7 +13,7 @@ export declare class AuthStorageService {
|
|
|
13
13
|
private _customEnvironmentService;
|
|
14
14
|
private _router;
|
|
15
15
|
private readonly _ipService;
|
|
16
|
-
private readonly
|
|
16
|
+
private readonly _toastr;
|
|
17
17
|
private readonly _BASE_URL;
|
|
18
18
|
private readonly _LOGOUT_BASE_URL;
|
|
19
19
|
private readonly _BASE_VERIFICATION_URL;
|