@abp/ng.core 7.0.2 → 7.0.3

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.
@@ -90,7 +90,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
90
90
  * Abstract service for Authentication.
91
91
  */
92
92
  class AuthService {
93
- constructor() { }
94
93
  warningMessage() {
95
94
  console.error('You should add @abp/ng-oauth packages or create your own auth packages.');
96
95
  }
@@ -115,6 +114,10 @@ class AuthService {
115
114
  this.warningMessage();
116
115
  return false;
117
116
  }
117
+ loginUsingGrant(grantType, parameters, headers) {
118
+ console.log({ grantType, parameters, headers });
119
+ return Promise.reject(new Error('not implemented'));
120
+ }
118
121
  }
119
122
  AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AuthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
120
123
  AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AuthService, providedIn: 'root' });
@@ -123,7 +126,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
123
126
  args: [{
124
127
  providedIn: 'root',
125
128
  }]
126
- }], ctorParameters: function () { return []; } });
129
+ }] });
127
130
 
128
131
  const LOCALIZATIONS = new InjectionToken('LOCALIZATIONS');
129
132
  function localizationContributor(localizations) {