[ADF-2876] retrieving user from APS api and not from js-api (#3426)

* [ADF-2876] retrieving user from APS api and not from js-api

* [ADF-2876] added support by checking externalId instead of email

* [ADF-2876] fixed auth service after rebase
This commit is contained in:
Vito
2018-06-27 10:01:17 +01:00
committed by Eugenio Romano
parent 70e23bd3eb
commit 119ebf635c
5 changed files with 47 additions and 2 deletions

View File

@@ -27,6 +27,7 @@ export class UserProcessModel implements LightUserRepresentation {
firstName?: string;
lastName?: string;
pictureId?: number = null;
externalId?: string;
constructor(obj?: any) {
if (obj) {
@@ -35,6 +36,7 @@ export class UserProcessModel implements LightUserRepresentation {
this.firstName = obj.firstName || null;
this.lastName = obj.lastName || null;
this.pictureId = obj.pictureId || null;
this.externalId = obj.externalId || null;
}
}