@dflat-core/web 1.7.2088 → 1.7.2089

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dflat-core/web",
3
- "version": "1.7.2088",
3
+ "version": "1.7.2089",
4
4
  "description": "Librairies Angular Dflat (core, core-*, system-*) et assets partagés, empaquetées en un module npm unique.",
5
5
  "license": "MIT",
6
6
  "peerDependencies": {
@@ -198,7 +198,7 @@ export declare class AuthService {
198
198
  * Connexion par le jeton d'identité remis par un fournisseur externe. Le serveur vérifie le
199
199
  * jeton, retrouve ou crée le compte, puis répond comme la connexion par mot de passe.
200
200
  */
201
- loginExternal(provider: string, idToken: string, rememberMe: boolean, firstName?: string, lastName?: string): Observable<IUserCredential>;
201
+ loginExternal(provider: string, idToken: string, rememberMe: boolean, firstName?: string, lastName?: string, authorizationCode?: string, redirectUri?: string): Observable<IUserCredential>;
202
202
  register(captchaToken: string, firstName: string, lastName: string, email: string, password: string, rememberMe: boolean): Observable<IUserCredential>;
203
203
  activate(code: string): Observable<Response>;
204
204
  saveUserInfos(user: any, userDetails: string, rememberMe?: boolean): void;
@@ -272,6 +272,10 @@ export interface IExternalLoginResult {
272
272
  firstName?: string;
273
273
  /** Nom transmis hors du jeton (Apple, à la première connexion). */
274
274
  lastName?: string;
275
+ /** Apple : code d'autorisation, échangé par le serveur contre un jeton de rafraîchissement (révoqué à la suppression du compte). */
276
+ authorizationCode?: string;
277
+ /** Apple : adresse de retour de la demande d'autorisation, exigée à l'échange du code. */
278
+ redirectUri?: string;
275
279
  }
276
280
  /**
277
281
  * Lance, dans le navigateur, la connexion chez un fournisseur d'identité externe et en récupère
@@ -317,10 +317,12 @@ export interface LoginViewModel {
317
317
  Username?: string;
318
318
  }
319
319
  export interface ExternalLoginViewModel {
320
+ AuthorizationCode?: string;
320
321
  FirstName?: string;
321
322
  IdToken?: string;
322
323
  LastName?: string;
323
324
  Provider?: string;
325
+ RedirectUri?: string;
324
326
  }
325
327
  export interface ExternalLoginProviderViewModel {
326
328
  ClientId?: string;
@@ -727,7 +727,7 @@ export declare class IdentityUxModule {
727
727
  static ɵinj: i0.ɵɵInjectorDeclaration<IdentityUxModule>;
728
728
  }
729
729
  /** Composants des entités du module Identity (composants spécifiques), à déclarer dans son module Angular. */
730
- export declare const IdentityGeneratedComponents: (typeof RoleComponent | typeof UserGroupDefinitionComponent | typeof PresentationProfileAssignmentComponent | typeof RolePermissionComponent | typeof UserAccountComponent | typeof UserAccountLoginComponent | typeof UserAccountRoleComponent | typeof UserAccountTokenComponent | typeof UserFavoriteComponent | typeof UserGroupComponent | typeof UserHistoryComponent | typeof UserPermissionViewComponent | typeof UserSessionComponent)[];
730
+ export declare const IdentityGeneratedComponents: (typeof RoleComponent | typeof PresentationProfileAssignmentComponent | typeof RolePermissionComponent | typeof UserAccountComponent | typeof UserAccountLoginComponent | typeof UserAccountRoleComponent | typeof UserAccountTokenComponent | typeof UserFavoriteComponent | typeof UserGroupComponent | typeof UserGroupDefinitionComponent | typeof UserHistoryComponent | typeof UserPermissionViewComponent | typeof UserSessionComponent)[];
731
731
  /** Routes des composants des entités du module Identity (clé d'entité), à ajouter à RouterModule.forChild. */
732
732
  export declare const IdentityGeneratedRoutes: Routes;
733
733
  /**
@@ -1811,7 +1811,7 @@ export declare class MetaUxModule {
1811
1811
  static ɵinj: i0.ɵɵInjectorDeclaration<MetaUxModule>;
1812
1812
  }
1813
1813
  /** Composants des entités du module Meta (composants spécifiques), à déclarer dans son module Angular. */
1814
- export declare const MetaGeneratedComponents: (typeof MetaEntityFieldComponent | typeof CustomFieldComponent | typeof CustomFieldGroupComponent | typeof CustomFieldGroupEntityComponent | typeof CustomFieldGroupItemComponent | typeof CustomFieldOptionsComponent | typeof FilesComponent | typeof KeywordComponent | typeof MetaEntityComponent | typeof MetaEntityFormComponent | typeof MetaEntityFormFieldComponent | typeof MetaEntityFormSectionComponent | typeof MetaEntityKeywordComponent | typeof MetaEntityRelationComponent | typeof MetaEntityRelationDefinitionComponent | typeof MetaEntityTranslationComponent | typeof MetaEntityViewFieldComponent | typeof ParameterComponent | typeof ParameterSectionComponent | typeof ParameterValueComponent | typeof PermissionComponent | typeof PresentationProfileItemComponent | typeof ResourceKeyComponent | typeof ResourceLanguageComponent | typeof ResourceTranslationComponent | typeof VersionComponent)[];
1814
+ export declare const MetaGeneratedComponents: (typeof MetaEntityFieldComponent | typeof CustomFieldGroupEntityComponent | typeof CustomFieldOptionsComponent | typeof CustomFieldGroupComponent | typeof CustomFieldGroupItemComponent | typeof CustomFieldComponent | typeof FilesComponent | typeof KeywordComponent | typeof MetaEntityComponent | typeof MetaEntityFormComponent | typeof MetaEntityFormFieldComponent | typeof MetaEntityFormSectionComponent | typeof MetaEntityKeywordComponent | typeof MetaEntityRelationComponent | typeof MetaEntityRelationDefinitionComponent | typeof MetaEntityTranslationComponent | typeof MetaEntityViewFieldComponent | typeof ParameterComponent | typeof ParameterSectionComponent | typeof ParameterValueComponent | typeof PermissionComponent | typeof PresentationProfileItemComponent | typeof ResourceKeyComponent | typeof ResourceLanguageComponent | typeof ResourceTranslationComponent | typeof VersionComponent)[];
1815
1815
  /** Routes des composants des entités du module Meta (clé d'entité), à ajouter à RouterModule.forChild. */
1816
1816
  export declare const MetaGeneratedRoutes: Routes;
1817
1817
  /**