ngx-sp-auth 4.23.2 → 4.23.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActivatedRouteSnapshot, Route, Router, RouterStateSnapshot, UrlTree } from '@angular/router';
|
|
1
|
+
import { ActivatedRouteSnapshot, Route, Router, RouterStateSnapshot, UrlSegment, UrlTree } from '@angular/router';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { AuthStorageService } from '../storage/auth-storage.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -7,6 +7,7 @@ export declare class AuthGuard {
|
|
|
7
7
|
private authStorageService;
|
|
8
8
|
constructor(router: Router, authStorageService: AuthStorageService);
|
|
9
9
|
IsUserAuth(): Observable<boolean | UrlTree>;
|
|
10
|
+
canMatch(_route: Route, segments: UrlSegment[]): Observable<boolean | UrlTree>;
|
|
10
11
|
canActivate(_route: ActivatedRouteSnapshot, _state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree;
|
|
11
12
|
canLoad(_route: Route): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuthGuard, never>;
|
|
@@ -12,6 +12,7 @@ export declare class AuthStorageService {
|
|
|
12
12
|
private _indexedDBService;
|
|
13
13
|
private _customEnvironmentService;
|
|
14
14
|
private _router;
|
|
15
|
+
private readonly _ipService;
|
|
15
16
|
private readonly _BASE_URL;
|
|
16
17
|
private readonly _LOGOUT_BASE_URL;
|
|
17
18
|
private readonly _BASE_VERIFICATION_URL;
|