@frontegg/angular 6.12.0 → 6.13.0-alpha.7274991440
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/bundles/frontegg-angular.umd.js +2 -2
- package/bundles/frontegg-angular.umd.js.map +1 -1
- package/esm2015/lib/frontegg-auth.service.js +3 -3
- package/fesm2015/frontegg-angular.js +2 -2
- package/fesm2015/frontegg-angular.js.map +1 -1
- package/lib/frontegg-auth.service.d.ts +2 -1
- package/lib/frontegg-auth.service.d.ts.map +1 -1
- package/package.json +2 -2
- package/CHANGELOG.md +0 -514
|
@@ -659,13 +659,13 @@
|
|
|
659
659
|
this.setLoginState = function (state) { return _this.dispatchAction('setLoginState', state); };
|
|
660
660
|
this.resetLoginState = function () { return _this.dispatchAction('resetLoginState'); };
|
|
661
661
|
this.requestAuthorize = function (firstTime) { return _this.dispatchAction('requestAuthorize', firstTime); };
|
|
662
|
-
this.loginWithRedirect = function (params, shouldRedirectToLogin, firstTime) {
|
|
662
|
+
this.loginWithRedirect = function (params, shouldRedirectToLogin, firstTime, loginDirectAction) {
|
|
663
663
|
if (shouldRedirectToLogin === void 0) { shouldRedirectToLogin = true; }
|
|
664
664
|
if (firstTime === void 0) { firstTime = false; }
|
|
665
665
|
if (_this.isHostedLoginCallbackRoute()) {
|
|
666
666
|
return;
|
|
667
667
|
}
|
|
668
|
-
_this.dispatchAction('requestHostedLoginAuthorizeV2', { additionalParams: params, shouldRedirectToLogin: shouldRedirectToLogin, firstTime: firstTime });
|
|
668
|
+
_this.dispatchAction('requestHostedLoginAuthorizeV2', { additionalParams: params, shouldRedirectToLogin: shouldRedirectToLogin, firstTime: firstTime, loginDirectAction: loginDirectAction });
|
|
669
669
|
_this.setState({ isLoading: true });
|
|
670
670
|
};
|
|
671
671
|
this.preLogin = function (payload) { return _this.dispatchAction('preLogin', payload); };
|