@abp/ng.core 7.0.0-rc.5 → 7.0.0
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/esm2020/lib/abstracts/auth.guard.mjs +17 -0
- package/esm2020/lib/abstracts/auth.service.mjs +42 -0
- package/esm2020/lib/abstracts/index.mjs +3 -1
- package/esm2020/lib/core.module.mjs +6 -34
- package/esm2020/lib/guards/index.mjs +1 -2
- package/esm2020/lib/interceptors/api.interceptor.mjs +11 -40
- package/esm2020/lib/models/auth.mjs +1 -1
- package/esm2020/lib/models/environment.mjs +1 -1
- package/esm2020/lib/models/index.mjs +2 -2
- package/esm2020/lib/services/index.mjs +1 -3
- package/esm2020/lib/tokens/check-authentication-state.mjs +3 -0
- package/esm2020/lib/tokens/index.mjs +4 -1
- package/esm2020/lib/tokens/manage-profile.token.mjs +3 -12
- package/esm2020/lib/tokens/pipe-to-login.token.mjs +3 -0
- package/esm2020/lib/tokens/set-token-response-to-storage.token.mjs +3 -0
- package/esm2020/lib/utils/index.mjs +1 -2
- package/esm2020/lib/utils/initial-utils.mjs +15 -18
- package/esm2020/public-api.mjs +2 -2
- package/fesm2015/abp-ng.core.mjs +188 -522
- package/fesm2015/abp-ng.core.mjs.map +1 -1
- package/fesm2020/abp-ng.core.mjs +188 -505
- package/fesm2020/abp-ng.core.mjs.map +1 -1
- package/lib/{guards → abstracts}/auth.guard.d.ts +3 -6
- package/lib/{services → abstracts}/auth.service.d.ts +17 -7
- package/lib/abstracts/index.d.ts +2 -0
- package/lib/core.module.d.ts +7 -10
- package/lib/guards/index.d.ts +0 -1
- package/lib/interceptors/api.interceptor.d.ts +7 -9
- package/lib/models/auth.d.ts +5 -0
- package/lib/models/environment.d.ts +1 -1
- package/lib/models/index.d.ts +1 -1
- package/lib/services/index.d.ts +0 -2
- package/lib/tokens/check-authentication-state.d.ts +3 -0
- package/lib/tokens/index.d.ts +3 -0
- package/lib/tokens/pipe-to-login.token.d.ts +3 -0
- package/lib/tokens/set-token-response-to-storage.token.d.ts +3 -0
- package/lib/utils/index.d.ts +0 -1
- package/lib/utils/initial-utils.d.ts +1 -170
- package/package.json +2 -2
- package/public-api.d.ts +1 -1
- package/esm2020/lib/guards/auth.guard.mjs +0 -29
- package/esm2020/lib/handlers/oauth-configuration.handler.mjs +0 -37
- package/esm2020/lib/services/auth.service.mjs +0 -44
- package/esm2020/lib/services/timeout-limited-oauth.service.mjs +0 -16
- package/esm2020/lib/strategies/auth-flow.strategy.mjs +0 -190
- package/esm2020/lib/utils/auth-utils.mjs +0 -42
- package/lib/handlers/oauth-configuration.handler.d.ts +0 -13
- package/lib/services/timeout-limited-oauth.service.d.ts +0 -7
- package/lib/strategies/auth-flow.strategy.d.ts +0 -393
- package/lib/utils/auth-utils.d.ts +0 -175
|
@@ -1,393 +0,0 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { Params } from '@angular/router';
|
|
3
|
-
import { AuthConfig, OAuthService, OAuthStorage } from 'angular-oauth2-oidc';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import { LoginParams } from '../models/auth';
|
|
6
|
-
import { ConfigStateService } from '../services/config-state.service';
|
|
7
|
-
import { EnvironmentService } from '../services/environment.service';
|
|
8
|
-
import { HttpErrorReporterService } from '../services/http-error-reporter.service';
|
|
9
|
-
import { SessionStateService } from '../services/session-state.service';
|
|
10
|
-
export declare const oAuthStorage: Storage;
|
|
11
|
-
export declare abstract class AuthFlowStrategy {
|
|
12
|
-
protected injector: Injector;
|
|
13
|
-
abstract readonly isInternalAuth: boolean;
|
|
14
|
-
protected httpErrorReporter: HttpErrorReporterService;
|
|
15
|
-
protected environment: EnvironmentService;
|
|
16
|
-
protected configState: ConfigStateService;
|
|
17
|
-
protected oAuthService: OAuthService;
|
|
18
|
-
protected oAuthConfig: AuthConfig;
|
|
19
|
-
protected sessionState: SessionStateService;
|
|
20
|
-
protected tenantKey: string;
|
|
21
|
-
abstract checkIfInternalAuth(queryParams?: Params): boolean;
|
|
22
|
-
abstract navigateToLogin(queryParams?: Params): void;
|
|
23
|
-
abstract logout(queryParams?: Params): Observable<any>;
|
|
24
|
-
abstract login(params?: LoginParams | Params): Observable<any>;
|
|
25
|
-
private catchError;
|
|
26
|
-
constructor(injector: Injector);
|
|
27
|
-
init(): Promise<any>;
|
|
28
|
-
protected refreshToken(): Promise<void | import("angular-oauth2-oidc").TokenResponse>;
|
|
29
|
-
protected listenToOauthErrors(): void;
|
|
30
|
-
}
|
|
31
|
-
export declare class AuthCodeFlowStrategy extends AuthFlowStrategy {
|
|
32
|
-
readonly isInternalAuth = false;
|
|
33
|
-
init(): Promise<void>;
|
|
34
|
-
navigateToLogin(queryParams?: Params): void;
|
|
35
|
-
checkIfInternalAuth(queryParams?: Params): boolean;
|
|
36
|
-
logout(queryParams?: Params): Observable<any>;
|
|
37
|
-
login(queryParams?: Params): Observable<null>;
|
|
38
|
-
private getCultureParams;
|
|
39
|
-
}
|
|
40
|
-
export declare class AuthPasswordFlowStrategy extends AuthFlowStrategy {
|
|
41
|
-
readonly isInternalAuth = true;
|
|
42
|
-
private cookieKey;
|
|
43
|
-
private storageKey;
|
|
44
|
-
private listenToTokenExpiration;
|
|
45
|
-
init(): Promise<void>;
|
|
46
|
-
navigateToLogin(queryParams?: Params): void;
|
|
47
|
-
checkIfInternalAuth(): boolean;
|
|
48
|
-
login(params: LoginParams): Observable<any>;
|
|
49
|
-
pipeToLogin(params: Pick<LoginParams, 'redirectUrl' | 'rememberMe'>): import("rxjs").UnaryFunction<Observable<unknown>, Observable<{
|
|
50
|
-
localization?: {
|
|
51
|
-
values?: {
|
|
52
|
-
[x: string]: {
|
|
53
|
-
[x: string]: string;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
resources?: {
|
|
57
|
-
[x: string]: {
|
|
58
|
-
texts?: {
|
|
59
|
-
[x: string]: string;
|
|
60
|
-
};
|
|
61
|
-
baseResources?: string[];
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
languages?: import("@abp/ng.core").LanguageInfo[];
|
|
65
|
-
currentCulture?: {
|
|
66
|
-
displayName?: string;
|
|
67
|
-
englishName?: string;
|
|
68
|
-
threeLetterIsoLanguageName?: string;
|
|
69
|
-
twoLetterIsoLanguageName?: string;
|
|
70
|
-
isRightToLeft?: boolean;
|
|
71
|
-
cultureName?: string;
|
|
72
|
-
name?: string;
|
|
73
|
-
nativeName?: string;
|
|
74
|
-
dateTimeFormat?: {
|
|
75
|
-
calendarAlgorithmType?: string;
|
|
76
|
-
dateTimeFormatLong?: string;
|
|
77
|
-
shortDatePattern?: string;
|
|
78
|
-
fullDateTimePattern?: string;
|
|
79
|
-
dateSeparator?: string;
|
|
80
|
-
shortTimePattern?: string;
|
|
81
|
-
longTimePattern?: string;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
defaultResourceName?: string;
|
|
85
|
-
languagesMap?: {
|
|
86
|
-
[x: string]: import("@abp/ng.core").NameValue<string>[];
|
|
87
|
-
};
|
|
88
|
-
languageFilesMap?: {
|
|
89
|
-
[x: string]: import("@abp/ng.core").NameValue<string>[];
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
auth?: {
|
|
93
|
-
grantedPolicies?: {
|
|
94
|
-
[x: string]: boolean;
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
setting?: {
|
|
98
|
-
values?: {
|
|
99
|
-
[x: string]: string;
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
currentUser?: {
|
|
103
|
-
isAuthenticated?: boolean;
|
|
104
|
-
id?: string;
|
|
105
|
-
tenantId?: string;
|
|
106
|
-
impersonatorUserId?: string;
|
|
107
|
-
impersonatorTenantId?: string;
|
|
108
|
-
impersonatorUserName?: string;
|
|
109
|
-
impersonatorTenantName?: string;
|
|
110
|
-
userName?: string;
|
|
111
|
-
name?: string;
|
|
112
|
-
surName?: string;
|
|
113
|
-
email?: string;
|
|
114
|
-
emailVerified?: boolean;
|
|
115
|
-
phoneNumber?: string;
|
|
116
|
-
phoneNumberVerified?: boolean;
|
|
117
|
-
roles?: string[];
|
|
118
|
-
};
|
|
119
|
-
features?: {
|
|
120
|
-
values?: {
|
|
121
|
-
[x: string]: string;
|
|
122
|
-
};
|
|
123
|
-
};
|
|
124
|
-
globalFeatures?: {
|
|
125
|
-
enabledFeatures?: string[];
|
|
126
|
-
};
|
|
127
|
-
multiTenancy?: {
|
|
128
|
-
isEnabled?: boolean;
|
|
129
|
-
};
|
|
130
|
-
currentTenant?: {
|
|
131
|
-
id?: string;
|
|
132
|
-
name?: string;
|
|
133
|
-
isAvailable?: boolean;
|
|
134
|
-
};
|
|
135
|
-
timing?: {
|
|
136
|
-
timeZone?: {
|
|
137
|
-
iana?: {
|
|
138
|
-
timeZoneName?: string;
|
|
139
|
-
};
|
|
140
|
-
windows?: {
|
|
141
|
-
timeZoneId?: string;
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
clock?: {
|
|
146
|
-
kind?: string;
|
|
147
|
-
};
|
|
148
|
-
objectExtensions?: {
|
|
149
|
-
modules?: {
|
|
150
|
-
[x: string]: {
|
|
151
|
-
entities?: {
|
|
152
|
-
[x: string]: {
|
|
153
|
-
properties?: {
|
|
154
|
-
[x: string]: {
|
|
155
|
-
type?: string;
|
|
156
|
-
typeSimple?: string;
|
|
157
|
-
displayName?: {
|
|
158
|
-
name?: string;
|
|
159
|
-
resource?: string;
|
|
160
|
-
};
|
|
161
|
-
api?: {
|
|
162
|
-
onGet?: {
|
|
163
|
-
isAvailable?: boolean;
|
|
164
|
-
};
|
|
165
|
-
onCreate?: {
|
|
166
|
-
isAvailable?: boolean;
|
|
167
|
-
};
|
|
168
|
-
onUpdate?: {
|
|
169
|
-
isAvailable?: boolean;
|
|
170
|
-
};
|
|
171
|
-
};
|
|
172
|
-
ui?: {
|
|
173
|
-
onTable?: {
|
|
174
|
-
isVisible?: boolean;
|
|
175
|
-
};
|
|
176
|
-
onCreateForm?: {
|
|
177
|
-
isVisible?: boolean;
|
|
178
|
-
};
|
|
179
|
-
onEditForm?: {
|
|
180
|
-
isVisible?: boolean;
|
|
181
|
-
};
|
|
182
|
-
lookup?: {
|
|
183
|
-
url?: string;
|
|
184
|
-
resultListPropertyName?: string;
|
|
185
|
-
displayPropertyName?: string;
|
|
186
|
-
valuePropertyName?: string;
|
|
187
|
-
filterParamName?: string;
|
|
188
|
-
};
|
|
189
|
-
};
|
|
190
|
-
attributes?: import("@abp/ng.core").ExtensionPropertyAttributeDto[];
|
|
191
|
-
configuration?: {
|
|
192
|
-
[x: string]: object;
|
|
193
|
-
};
|
|
194
|
-
defaultValue?: object;
|
|
195
|
-
};
|
|
196
|
-
};
|
|
197
|
-
configuration?: {
|
|
198
|
-
[x: string]: object;
|
|
199
|
-
};
|
|
200
|
-
};
|
|
201
|
-
};
|
|
202
|
-
configuration?: {
|
|
203
|
-
[x: string]: object;
|
|
204
|
-
};
|
|
205
|
-
};
|
|
206
|
-
};
|
|
207
|
-
enums?: {
|
|
208
|
-
[x: string]: {
|
|
209
|
-
fields?: import("@abp/ng.core").ExtensionEnumFieldDto[];
|
|
210
|
-
localizationResource?: string;
|
|
211
|
-
};
|
|
212
|
-
};
|
|
213
|
-
};
|
|
214
|
-
extraProperties?: {
|
|
215
|
-
[x: string]: object;
|
|
216
|
-
};
|
|
217
|
-
}>>;
|
|
218
|
-
logout(queryParams?: Params): Observable<{
|
|
219
|
-
localization?: {
|
|
220
|
-
values?: {
|
|
221
|
-
[x: string]: {
|
|
222
|
-
[x: string]: string;
|
|
223
|
-
};
|
|
224
|
-
};
|
|
225
|
-
resources?: {
|
|
226
|
-
[x: string]: {
|
|
227
|
-
texts?: {
|
|
228
|
-
[x: string]: string;
|
|
229
|
-
};
|
|
230
|
-
baseResources?: string[];
|
|
231
|
-
};
|
|
232
|
-
};
|
|
233
|
-
languages?: import("@abp/ng.core").LanguageInfo[];
|
|
234
|
-
currentCulture?: {
|
|
235
|
-
displayName?: string;
|
|
236
|
-
englishName?: string;
|
|
237
|
-
threeLetterIsoLanguageName?: string;
|
|
238
|
-
twoLetterIsoLanguageName?: string;
|
|
239
|
-
isRightToLeft?: boolean;
|
|
240
|
-
cultureName?: string;
|
|
241
|
-
name?: string;
|
|
242
|
-
nativeName?: string;
|
|
243
|
-
dateTimeFormat?: {
|
|
244
|
-
calendarAlgorithmType?: string;
|
|
245
|
-
dateTimeFormatLong?: string;
|
|
246
|
-
shortDatePattern?: string;
|
|
247
|
-
fullDateTimePattern?: string;
|
|
248
|
-
dateSeparator?: string;
|
|
249
|
-
shortTimePattern?: string;
|
|
250
|
-
longTimePattern?: string;
|
|
251
|
-
};
|
|
252
|
-
};
|
|
253
|
-
defaultResourceName?: string;
|
|
254
|
-
languagesMap?: {
|
|
255
|
-
[x: string]: import("@abp/ng.core").NameValue<string>[];
|
|
256
|
-
};
|
|
257
|
-
languageFilesMap?: {
|
|
258
|
-
[x: string]: import("@abp/ng.core").NameValue<string>[];
|
|
259
|
-
};
|
|
260
|
-
};
|
|
261
|
-
auth?: {
|
|
262
|
-
grantedPolicies?: {
|
|
263
|
-
[x: string]: boolean;
|
|
264
|
-
};
|
|
265
|
-
};
|
|
266
|
-
setting?: {
|
|
267
|
-
values?: {
|
|
268
|
-
[x: string]: string;
|
|
269
|
-
};
|
|
270
|
-
};
|
|
271
|
-
currentUser?: {
|
|
272
|
-
isAuthenticated?: boolean;
|
|
273
|
-
id?: string;
|
|
274
|
-
tenantId?: string;
|
|
275
|
-
impersonatorUserId?: string;
|
|
276
|
-
impersonatorTenantId?: string;
|
|
277
|
-
impersonatorUserName?: string;
|
|
278
|
-
impersonatorTenantName?: string;
|
|
279
|
-
userName?: string;
|
|
280
|
-
name?: string;
|
|
281
|
-
surName?: string;
|
|
282
|
-
email?: string;
|
|
283
|
-
emailVerified?: boolean;
|
|
284
|
-
phoneNumber?: string;
|
|
285
|
-
phoneNumberVerified?: boolean;
|
|
286
|
-
roles?: string[];
|
|
287
|
-
};
|
|
288
|
-
features?: {
|
|
289
|
-
values?: {
|
|
290
|
-
[x: string]: string;
|
|
291
|
-
};
|
|
292
|
-
};
|
|
293
|
-
globalFeatures?: {
|
|
294
|
-
enabledFeatures?: string[];
|
|
295
|
-
};
|
|
296
|
-
multiTenancy?: {
|
|
297
|
-
isEnabled?: boolean;
|
|
298
|
-
};
|
|
299
|
-
currentTenant?: {
|
|
300
|
-
id?: string;
|
|
301
|
-
name?: string;
|
|
302
|
-
isAvailable?: boolean;
|
|
303
|
-
};
|
|
304
|
-
timing?: {
|
|
305
|
-
timeZone?: {
|
|
306
|
-
iana?: {
|
|
307
|
-
timeZoneName?: string;
|
|
308
|
-
};
|
|
309
|
-
windows?: {
|
|
310
|
-
timeZoneId?: string;
|
|
311
|
-
};
|
|
312
|
-
};
|
|
313
|
-
};
|
|
314
|
-
clock?: {
|
|
315
|
-
kind?: string;
|
|
316
|
-
};
|
|
317
|
-
objectExtensions?: {
|
|
318
|
-
modules?: {
|
|
319
|
-
[x: string]: {
|
|
320
|
-
entities?: {
|
|
321
|
-
[x: string]: {
|
|
322
|
-
properties?: {
|
|
323
|
-
[x: string]: {
|
|
324
|
-
type?: string;
|
|
325
|
-
typeSimple?: string;
|
|
326
|
-
displayName?: {
|
|
327
|
-
name?: string;
|
|
328
|
-
resource?: string;
|
|
329
|
-
};
|
|
330
|
-
api?: {
|
|
331
|
-
onGet?: {
|
|
332
|
-
isAvailable?: boolean;
|
|
333
|
-
};
|
|
334
|
-
onCreate?: {
|
|
335
|
-
isAvailable?: boolean;
|
|
336
|
-
};
|
|
337
|
-
onUpdate?: {
|
|
338
|
-
isAvailable?: boolean;
|
|
339
|
-
};
|
|
340
|
-
};
|
|
341
|
-
ui?: {
|
|
342
|
-
onTable?: {
|
|
343
|
-
isVisible?: boolean;
|
|
344
|
-
};
|
|
345
|
-
onCreateForm?: {
|
|
346
|
-
isVisible?: boolean;
|
|
347
|
-
};
|
|
348
|
-
onEditForm?: {
|
|
349
|
-
isVisible?: boolean;
|
|
350
|
-
};
|
|
351
|
-
lookup?: {
|
|
352
|
-
url?: string;
|
|
353
|
-
resultListPropertyName?: string;
|
|
354
|
-
displayPropertyName?: string;
|
|
355
|
-
valuePropertyName?: string;
|
|
356
|
-
filterParamName?: string;
|
|
357
|
-
};
|
|
358
|
-
};
|
|
359
|
-
attributes?: import("@abp/ng.core").ExtensionPropertyAttributeDto[];
|
|
360
|
-
configuration?: {
|
|
361
|
-
[x: string]: object;
|
|
362
|
-
};
|
|
363
|
-
defaultValue?: object;
|
|
364
|
-
};
|
|
365
|
-
};
|
|
366
|
-
configuration?: {
|
|
367
|
-
[x: string]: object;
|
|
368
|
-
};
|
|
369
|
-
};
|
|
370
|
-
};
|
|
371
|
-
configuration?: {
|
|
372
|
-
[x: string]: object;
|
|
373
|
-
};
|
|
374
|
-
};
|
|
375
|
-
};
|
|
376
|
-
enums?: {
|
|
377
|
-
[x: string]: {
|
|
378
|
-
fields?: import("@abp/ng.core").ExtensionEnumFieldDto[];
|
|
379
|
-
localizationResource?: string;
|
|
380
|
-
};
|
|
381
|
-
};
|
|
382
|
-
};
|
|
383
|
-
extraProperties?: {
|
|
384
|
-
[x: string]: object;
|
|
385
|
-
};
|
|
386
|
-
}>;
|
|
387
|
-
protected refreshToken(): Promise<void | import("angular-oauth2-oidc").TokenResponse>;
|
|
388
|
-
}
|
|
389
|
-
export declare const AUTH_FLOW_STRATEGY: {
|
|
390
|
-
Code(injector: Injector): AuthCodeFlowStrategy;
|
|
391
|
-
Password(injector: Injector): AuthPasswordFlowStrategy;
|
|
392
|
-
};
|
|
393
|
-
export declare function clearOAuthStorage(storage?: OAuthStorage): void;
|
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { TokenResponse } from 'angular-oauth2-oidc';
|
|
3
|
-
import { LoginParams } from '../models/auth';
|
|
4
|
-
export declare function pipeToLogin(params: Pick<LoginParams, 'redirectUrl' | 'rememberMe'>, injector: Injector): import("rxjs").UnaryFunction<import("rxjs").Observable<unknown>, import("rxjs").Observable<{
|
|
5
|
-
localization?: {
|
|
6
|
-
values?: {
|
|
7
|
-
[x: string]: {
|
|
8
|
-
[x: string]: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
resources?: {
|
|
12
|
-
[x: string]: {
|
|
13
|
-
texts?: {
|
|
14
|
-
[x: string]: string;
|
|
15
|
-
};
|
|
16
|
-
baseResources?: string[];
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
languages?: import("@abp/ng.core").LanguageInfo[];
|
|
20
|
-
currentCulture?: {
|
|
21
|
-
displayName?: string;
|
|
22
|
-
englishName?: string;
|
|
23
|
-
threeLetterIsoLanguageName?: string;
|
|
24
|
-
twoLetterIsoLanguageName?: string;
|
|
25
|
-
isRightToLeft?: boolean;
|
|
26
|
-
cultureName?: string;
|
|
27
|
-
name?: string;
|
|
28
|
-
nativeName?: string;
|
|
29
|
-
dateTimeFormat?: {
|
|
30
|
-
calendarAlgorithmType?: string;
|
|
31
|
-
dateTimeFormatLong?: string;
|
|
32
|
-
shortDatePattern?: string;
|
|
33
|
-
fullDateTimePattern?: string;
|
|
34
|
-
dateSeparator?: string;
|
|
35
|
-
shortTimePattern?: string;
|
|
36
|
-
longTimePattern?: string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
defaultResourceName?: string;
|
|
40
|
-
languagesMap?: {
|
|
41
|
-
[x: string]: import("@abp/ng.core").NameValue<string>[];
|
|
42
|
-
};
|
|
43
|
-
languageFilesMap?: {
|
|
44
|
-
[x: string]: import("@abp/ng.core").NameValue<string>[];
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
auth?: {
|
|
48
|
-
grantedPolicies?: {
|
|
49
|
-
[x: string]: boolean;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
setting?: {
|
|
53
|
-
values?: {
|
|
54
|
-
[x: string]: string;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
currentUser?: {
|
|
58
|
-
isAuthenticated?: boolean;
|
|
59
|
-
id?: string;
|
|
60
|
-
tenantId?: string;
|
|
61
|
-
impersonatorUserId?: string;
|
|
62
|
-
impersonatorTenantId?: string;
|
|
63
|
-
impersonatorUserName?: string;
|
|
64
|
-
impersonatorTenantName?: string;
|
|
65
|
-
userName?: string;
|
|
66
|
-
name?: string;
|
|
67
|
-
surName?: string;
|
|
68
|
-
email?: string;
|
|
69
|
-
emailVerified?: boolean;
|
|
70
|
-
phoneNumber?: string;
|
|
71
|
-
phoneNumberVerified?: boolean;
|
|
72
|
-
roles?: string[];
|
|
73
|
-
};
|
|
74
|
-
features?: {
|
|
75
|
-
values?: {
|
|
76
|
-
[x: string]: string;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
globalFeatures?: {
|
|
80
|
-
enabledFeatures?: string[];
|
|
81
|
-
};
|
|
82
|
-
multiTenancy?: {
|
|
83
|
-
isEnabled?: boolean;
|
|
84
|
-
};
|
|
85
|
-
currentTenant?: {
|
|
86
|
-
id?: string;
|
|
87
|
-
name?: string;
|
|
88
|
-
isAvailable?: boolean;
|
|
89
|
-
};
|
|
90
|
-
timing?: {
|
|
91
|
-
timeZone?: {
|
|
92
|
-
iana?: {
|
|
93
|
-
timeZoneName?: string;
|
|
94
|
-
};
|
|
95
|
-
windows?: {
|
|
96
|
-
timeZoneId?: string;
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
clock?: {
|
|
101
|
-
kind?: string;
|
|
102
|
-
};
|
|
103
|
-
objectExtensions?: {
|
|
104
|
-
modules?: {
|
|
105
|
-
[x: string]: {
|
|
106
|
-
entities?: {
|
|
107
|
-
[x: string]: {
|
|
108
|
-
properties?: {
|
|
109
|
-
[x: string]: {
|
|
110
|
-
type?: string;
|
|
111
|
-
typeSimple?: string;
|
|
112
|
-
displayName?: {
|
|
113
|
-
name?: string;
|
|
114
|
-
resource?: string;
|
|
115
|
-
};
|
|
116
|
-
api?: {
|
|
117
|
-
onGet?: {
|
|
118
|
-
isAvailable?: boolean;
|
|
119
|
-
};
|
|
120
|
-
onCreate?: {
|
|
121
|
-
isAvailable?: boolean;
|
|
122
|
-
};
|
|
123
|
-
onUpdate?: {
|
|
124
|
-
isAvailable?: boolean;
|
|
125
|
-
};
|
|
126
|
-
};
|
|
127
|
-
ui?: {
|
|
128
|
-
onTable?: {
|
|
129
|
-
isVisible?: boolean;
|
|
130
|
-
};
|
|
131
|
-
onCreateForm?: {
|
|
132
|
-
isVisible?: boolean;
|
|
133
|
-
};
|
|
134
|
-
onEditForm?: {
|
|
135
|
-
isVisible?: boolean;
|
|
136
|
-
};
|
|
137
|
-
lookup?: {
|
|
138
|
-
url?: string;
|
|
139
|
-
resultListPropertyName?: string;
|
|
140
|
-
displayPropertyName?: string;
|
|
141
|
-
valuePropertyName?: string;
|
|
142
|
-
filterParamName?: string;
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
attributes?: import("@abp/ng.core").ExtensionPropertyAttributeDto[];
|
|
146
|
-
configuration?: {
|
|
147
|
-
[x: string]: object;
|
|
148
|
-
};
|
|
149
|
-
defaultValue?: object;
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
configuration?: {
|
|
153
|
-
[x: string]: object;
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
configuration?: {
|
|
158
|
-
[x: string]: object;
|
|
159
|
-
};
|
|
160
|
-
};
|
|
161
|
-
};
|
|
162
|
-
enums?: {
|
|
163
|
-
[x: string]: {
|
|
164
|
-
fields?: import("@abp/ng.core").ExtensionEnumFieldDto[];
|
|
165
|
-
localizationResource?: string;
|
|
166
|
-
};
|
|
167
|
-
};
|
|
168
|
-
};
|
|
169
|
-
extraProperties?: {
|
|
170
|
-
[x: string]: object;
|
|
171
|
-
};
|
|
172
|
-
}>>;
|
|
173
|
-
export declare function setTokenResponseToStorage(injector: Injector, tokenRes: TokenResponse): void;
|
|
174
|
-
export declare function setRememberMe(remember: boolean): void;
|
|
175
|
-
export declare function removeRememberMe(): void;
|