@bnsights/bbsf-utilities 1.0.66 → 1.0.67
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/README.md +15 -0
- package/esm2022/lib/shared/authentication/auth.service.mjs +20 -10
- package/esm2022/lib/shared/services/configuration.service.mjs +13 -7
- package/esm2022/lib/shared/services/environment.service.mjs +1 -4
- package/esm2022/lib/shared/services/master-layout.service.mjs +2 -2
- package/esm2022/lib/shared/services/utility.service.mjs +1 -1
- package/fesm2022/bnsights-bbsf-utilities.mjs +31 -18
- package/fesm2022/bnsights-bbsf-utilities.mjs.map +1 -1
- package/lib/shared/authentication/auth.service.d.ts +4 -2
- package/lib/shared/services/configuration.service.d.ts +5 -3
- package/package.json +1 -1
|
@@ -17,15 +17,17 @@ export declare class AuthService {
|
|
|
17
17
|
private utilityService;
|
|
18
18
|
redirectUrl: string;
|
|
19
19
|
static user: User | null;
|
|
20
|
-
|
|
20
|
+
_user: User | null;
|
|
21
|
+
private get user();
|
|
21
22
|
static UserClaims: any;
|
|
22
23
|
private jwtHelper;
|
|
23
24
|
private isAuthenticatedSubject;
|
|
24
25
|
isAuthenticate$: import("rxjs").Observable<boolean>;
|
|
25
26
|
static timers: any[];
|
|
26
27
|
static seconds: number;
|
|
27
|
-
TOKEN_KEY: string;
|
|
28
28
|
constructor(injector: Injector, http: HttpClient, environmentService: EnvironmentService, translateService: BBSFTranslateService, router: Router, cookieService: CookieService, utilityService: UtilityService);
|
|
29
|
+
private _TOKEN_KEY;
|
|
30
|
+
get TOKEN_KEY(): string;
|
|
29
31
|
private hasToken;
|
|
30
32
|
getUserManager(): User;
|
|
31
33
|
getUser(): void;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { HttpClient } from "@angular/common/http";
|
|
2
|
-
import {
|
|
2
|
+
import { Injector } from "@angular/core";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ConfigurationService {
|
|
5
5
|
private httpClient;
|
|
6
|
-
private
|
|
6
|
+
private injector;
|
|
7
7
|
static JsonData: any[];
|
|
8
8
|
private currentUserProfile;
|
|
9
|
-
|
|
9
|
+
private _authService;
|
|
10
|
+
constructor(httpClient: HttpClient, injector: Injector);
|
|
11
|
+
private get authService();
|
|
10
12
|
getConfigurationValue(key: string): any;
|
|
11
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationService, never>;
|
|
12
14
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationService>;
|