@acorex/connectivity 20.2.0-next.2 → 20.2.0-next.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.
- package/api/index.d.ts +30 -3
- package/fesm2022/acorex-connectivity-api.mjs +329 -306
- package/fesm2022/acorex-connectivity-api.mjs.map +1 -1
- package/fesm2022/acorex-connectivity-mock.mjs +5194 -1127
- package/fesm2022/acorex-connectivity-mock.mjs.map +1 -1
- package/fesm2022/acorex-connectivity-utils.mjs +7 -7
- package/fesm2022/acorex-connectivity-utils.mjs.map +1 -1
- package/mock/index.d.ts +193 -8
- package/package.json +1 -1
- package/fesm2022/acorex-connectivity-mock-countries-DHRrtbwM.mjs +0 -591
- package/fesm2022/acorex-connectivity-mock-countries-DHRrtbwM.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-currencies-B-x3Mxql.mjs +0 -13
- package/fesm2022/acorex-connectivity-mock-currencies-B-x3Mxql.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-profiles-MJ9xFTtp.mjs +0 -19
- package/fesm2022/acorex-connectivity-mock-profiles-MJ9xFTtp.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-timezones-CnNQ6EXw.mjs +0 -44
- package/fesm2022/acorex-connectivity-mock-timezones-CnNQ6EXw.mjs.map +0 -1
package/api/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import * as i1 from 'angular-oauth2-oidc';
|
|
|
6
6
|
import { AuthConfig } from 'angular-oauth2-oidc';
|
|
7
7
|
import * as i2 from '@acorex/platform/auth';
|
|
8
8
|
import { AXPApplicationLoader, AXPApplication, AXPFeatureLoader, AXPFeature, AXPAuthStrategy, AXPBaseCredentials, AXPSignInResult, AXPSessionContext, AXPPermissionLoader, AXPPermission, AXPTenantLoader, AXPTenant } from '@acorex/platform/auth';
|
|
9
|
+
import * as i3 from '@acorex/connectivity/utils';
|
|
9
10
|
import { Observable } from 'rxjs';
|
|
10
11
|
|
|
11
12
|
declare class AXCApiEntityStorageService implements AXPEntityStorageService<string, any> {
|
|
@@ -40,7 +41,7 @@ declare class AXCApiEntityStorageService implements AXPEntityStorageService<stri
|
|
|
40
41
|
|
|
41
42
|
declare class AXCApiModule {
|
|
42
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCApiModule, never>;
|
|
43
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCApiModule, never, [typeof i1.OAuthModule, typeof i2.AXPAuthModule], never>;
|
|
44
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCApiModule, never, [typeof i1.OAuthModule, typeof i2.AXPAuthModule, typeof i3.AXCUtilsModule], never>;
|
|
44
45
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCApiModule>;
|
|
45
46
|
}
|
|
46
47
|
|
|
@@ -127,7 +128,6 @@ declare class AXCAPIOidcStrategy extends AXPAuthStrategy {
|
|
|
127
128
|
private sessionService;
|
|
128
129
|
private router;
|
|
129
130
|
userInfo: any;
|
|
130
|
-
authConfig: AuthConfig;
|
|
131
131
|
openidConfigurationInfo: any;
|
|
132
132
|
configureOAuth(): Promise<void>;
|
|
133
133
|
signin(credentials: AXPBaseCredentials): Promise<AXPSignInResult | undefined>;
|
|
@@ -201,5 +201,32 @@ declare class AXMOidcTenantLoader implements AXPTenantLoader {
|
|
|
201
201
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXMOidcTenantLoader>;
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
|
|
204
|
+
declare class APIGoogleStrategy extends AXPAuthStrategy {
|
|
205
|
+
private aXMAuthConfigs;
|
|
206
|
+
private oauthService;
|
|
207
|
+
private http;
|
|
208
|
+
private sessionService;
|
|
209
|
+
private router;
|
|
210
|
+
private externalAuthorizationService;
|
|
211
|
+
private tenantLoader;
|
|
212
|
+
private applicationLoader;
|
|
213
|
+
userInfo: any;
|
|
214
|
+
authConfig: AuthConfig;
|
|
215
|
+
openidConfigurationInfo: any;
|
|
216
|
+
constructor();
|
|
217
|
+
get name(): string;
|
|
218
|
+
configureOAuth(): Promise<void>;
|
|
219
|
+
signin(credentials: AXPBaseCredentials): Promise<void>;
|
|
220
|
+
signout(): Promise<void>;
|
|
221
|
+
refreshToken(context: AXPSessionContext): Promise<AXPSignInResult>;
|
|
222
|
+
updateToken(params: {
|
|
223
|
+
[key: string]: any;
|
|
224
|
+
}): Promise<AXPSignInResult | undefined>;
|
|
225
|
+
private loadAuthData;
|
|
226
|
+
private handleError;
|
|
227
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<APIGoogleStrategy, never>;
|
|
228
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<APIGoogleStrategy>;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export { APIGoogleStrategy, AXCAPIOidcStrategy, AXCApiEntityStorageService, AXCApiModule, AXMConfigurationService, AXMOidcApplicationLoader, AXMOidcFeatureLoader, AXMOidcPermissionLoader, AXMOidcTenantLoader };
|
|
205
232
|
export type { AXPOAuthExternalCredentials, AXPUserPassCredentials, ApplicationConfiguration, Auth, Culture, IAuthenticationDataModel, Language, Localization, NameValue, Resource };
|