@abp/ng.core 8.3.0 → 8.3.1

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.
@@ -8,7 +8,9 @@ export interface Environment {
8
8
  localization?: {
9
9
  defaultResourceName?: string;
10
10
  };
11
- oAuthConfig?: AuthConfig;
11
+ oAuthConfig?: AuthConfig & {
12
+ impersonation?: Impersonation;
13
+ };
12
14
  production: boolean;
13
15
  remoteEnv?: RemoteEnv;
14
16
  [key: string]: any;
@@ -36,3 +38,7 @@ export interface RemoteEnv {
36
38
  method?: string;
37
39
  headers?: ABP.Dictionary<string>;
38
40
  }
41
+ export interface Impersonation {
42
+ tenantImpersonation?: boolean;
43
+ userImpersonation?: boolean;
44
+ }
@@ -80,6 +80,10 @@ export declare class EnvironmentService {
80
80
  disableIdTokenTimer?: boolean;
81
81
  checkOrigin?: boolean;
82
82
  openUri?: (uri: string) => void;
83
+ impersonation?: {
84
+ tenantImpersonation?: boolean;
85
+ userImpersonation?: boolean;
86
+ };
83
87
  };
84
88
  production?: boolean;
85
89
  remoteEnv?: {
@@ -98,6 +102,8 @@ export declare class EnvironmentService {
98
102
  setState(environment: Environment): void;
99
103
  getIssuer(): string;
100
104
  getIssuer$(): Observable<string>;
105
+ getImpersonation(): import("../models/environment").Impersonation;
106
+ getImpersonation$(): Observable<import("../models/environment").Impersonation>;
101
107
  static ɵfac: i0.ɵɵFactoryDeclaration<EnvironmentService, never>;
102
108
  static ɵprov: i0.ɵɵInjectableDeclaration<EnvironmentService>;
103
109
  }
@@ -6,6 +6,7 @@ export declare class SessionStateService {
6
6
  private configState;
7
7
  private localStorageService;
8
8
  private readonly store;
9
+ protected readonly document: Document;
9
10
  private updateLocalStorage;
10
11
  constructor(configState: ConfigStateService, localStorageService: AbpLocalStorageService);
11
12
  private init;
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@abp/ng.core",
3
- "version": "8.3.0",
3
+ "version": "8.3.1",
4
4
  "homepage": "https://abp.io",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/abpframework/abp.git"
8
8
  },
9
9
  "dependencies": {
10
- "@abp/utils": "~8.3.0",
10
+ "@abp/utils": "~8.3.1",
11
11
  "just-clone": "^6.0.0",
12
12
  "just-compare": "^2.0.0",
13
13
  "ts-toolbelt": "^9.0.0",