@resolveio/client-lib-core 1.1.6 → 1.1.7
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/auth/auth.service.mjs +4 -1
- package/esm2020/lib/core.component.mjs +4 -1
- package/fesm2015/resolveio-client-lib-core.mjs +6 -0
- package/fesm2015/resolveio-client-lib-core.mjs.map +1 -1
- package/fesm2020/resolveio-client-lib-core.mjs +6 -0
- package/fesm2020/resolveio-client-lib-core.mjs.map +1 -1
- package/lib/auth/auth.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -4248,6 +4248,9 @@ class AuthService {
|
|
|
4248
4248
|
framework: { isAngular: true }
|
|
4249
4249
|
});
|
|
4250
4250
|
}
|
|
4251
|
+
setEnvironment(environment) {
|
|
4252
|
+
this.environment = environment;
|
|
4253
|
+
}
|
|
4251
4254
|
setUserHasPhoneNumber(value) {
|
|
4252
4255
|
this.userHasPhoneNumber = value;
|
|
4253
4256
|
}
|
|
@@ -4925,6 +4928,9 @@ class CoreComponent extends BaseComponent {
|
|
|
4925
4928
|
if (this.environment && this.environment.MS_ALLOWED) {
|
|
4926
4929
|
this._auth.setupMSSingleSignOn(this.environment);
|
|
4927
4930
|
}
|
|
4931
|
+
else if (this.environment) {
|
|
4932
|
+
this._auth.setEnvironment(this.environment);
|
|
4933
|
+
}
|
|
4928
4934
|
this._auth.setUserHasPhoneNumber(this.userHasPhoneNumber);
|
|
4929
4935
|
// this._services._app.setCustomHomePage(this.customHomePage);
|
|
4930
4936
|
// this._services._app.setLogo(this.logo);
|