@abp/ng.account.core 5.0.0-rc.1 → 5.0.2
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/abp-ng.account.core.d.ts +5 -5
- package/bundles/abp-ng.account.core-proxy.umd.js +98 -98
- package/bundles/abp-ng.account.core.umd.js +417 -417
- package/esm2015/abp-ng.account.core.js +4 -4
- package/esm2015/lib/auth-wrapper.service.js +42 -42
- package/esm2015/lib/tenant-box.service.js +56 -56
- package/esm2015/proxy/abp-ng.account.core-proxy.js +4 -4
- package/esm2015/proxy/lib/index.js +2 -2
- package/esm2015/proxy/lib/proxy/account/account.service.js +33 -33
- package/esm2015/proxy/lib/proxy/account/index.js +5 -5
- package/esm2015/proxy/lib/proxy/account/models.js +1 -1
- package/esm2015/proxy/lib/proxy/account/profile.service.js +32 -32
- package/esm2015/proxy/lib/proxy/account/web/areas/account/controllers/account.service.js +32 -32
- package/esm2015/proxy/lib/proxy/account/web/areas/account/controllers/index.js +3 -3
- package/esm2015/proxy/lib/proxy/account/web/areas/account/controllers/models/index.js +2 -2
- package/esm2015/proxy/lib/proxy/account/web/areas/account/controllers/models/login-result-type.enum.js +10 -10
- package/esm2015/proxy/lib/proxy/account/web/areas/account/controllers/models/models.js +1 -1
- package/esm2015/proxy/lib/proxy/account/web/areas/account/index.js +2 -2
- package/esm2015/proxy/lib/proxy/account/web/areas/index.js +2 -2
- package/esm2015/proxy/lib/proxy/account/web/index.js +2 -2
- package/esm2015/proxy/lib/proxy/identity/index.js +1 -1
- package/esm2015/proxy/lib/proxy/identity/models.js +1 -1
- package/esm2015/proxy/public-api.js +1 -1
- package/esm2015/public-api.js +5 -5
- package/fesm2015/abp-ng.account.core-proxy.js +92 -92
- package/fesm2015/abp-ng.account.core.js +86 -86
- package/lib/auth-wrapper.service.d.ts +19 -19
- package/lib/tenant-box.service.d.ts +20 -20
- package/package.json +3 -3
- package/proxy/abp-ng.account.core-proxy.d.ts +5 -5
- package/proxy/lib/index.d.ts +2 -2
- package/proxy/lib/proxy/account/account.service.d.ts +14 -14
- package/proxy/lib/proxy/account/index.d.ts +5 -5
- package/proxy/lib/proxy/account/models.d.ts +40 -40
- package/proxy/lib/proxy/account/profile.service.d.ts +13 -13
- package/proxy/lib/proxy/account/web/areas/account/controllers/account.service.d.ts +13 -13
- package/proxy/lib/proxy/account/web/areas/account/controllers/index.d.ts +3 -3
- package/proxy/lib/proxy/account/web/areas/account/controllers/models/index.d.ts +2 -2
- package/proxy/lib/proxy/account/web/areas/account/controllers/models/login-result-type.enum.d.ts +8 -8
- package/proxy/lib/proxy/account/web/areas/account/controllers/models/models.d.ts +10 -10
- package/proxy/lib/proxy/account/web/areas/account/index.d.ts +2 -2
- package/proxy/lib/proxy/account/web/areas/index.d.ts +2 -2
- package/proxy/lib/proxy/account/web/index.d.ts +2 -2
- package/proxy/lib/proxy/identity/index.d.ts +1 -1
- package/proxy/lib/proxy/identity/models.d.ts +15 -15
- package/proxy/public-api.d.ts +1 -1
- package/public-api.d.ts +2 -2
package/abp-ng.account.core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
/// <amd-module name="@abp/ng.account.core" />
|
|
5
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@abp/ng.account.core" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
26
26
|
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
27
27
|
|
|
28
|
-
var LoginResultType;
|
|
29
|
-
(function (LoginResultType) {
|
|
30
|
-
LoginResultType[LoginResultType["Success"] = 1] = "Success";
|
|
31
|
-
LoginResultType[LoginResultType["InvalidUserNameOrPassword"] = 2] = "InvalidUserNameOrPassword";
|
|
32
|
-
LoginResultType[LoginResultType["NotAllowed"] = 3] = "NotAllowed";
|
|
33
|
-
LoginResultType[LoginResultType["LockedOut"] = 4] = "LockedOut";
|
|
34
|
-
LoginResultType[LoginResultType["RequiresTwoFactor"] = 5] = "RequiresTwoFactor";
|
|
35
|
-
})(LoginResultType || (LoginResultType = {}));
|
|
28
|
+
var LoginResultType;
|
|
29
|
+
(function (LoginResultType) {
|
|
30
|
+
LoginResultType[LoginResultType["Success"] = 1] = "Success";
|
|
31
|
+
LoginResultType[LoginResultType["InvalidUserNameOrPassword"] = 2] = "InvalidUserNameOrPassword";
|
|
32
|
+
LoginResultType[LoginResultType["NotAllowed"] = 3] = "NotAllowed";
|
|
33
|
+
LoginResultType[LoginResultType["LockedOut"] = 4] = "LockedOut";
|
|
34
|
+
LoginResultType[LoginResultType["RequiresTwoFactor"] = 5] = "RequiresTwoFactor";
|
|
35
|
+
})(LoginResultType || (LoginResultType = {}));
|
|
36
36
|
var loginResultTypeOptions = i1.mapEnumToOptions(LoginResultType);
|
|
37
37
|
|
|
38
38
|
var index$4 = /*#__PURE__*/Object.freeze({
|
|
@@ -41,35 +41,35 @@
|
|
|
41
41
|
loginResultTypeOptions: loginResultTypeOptions
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
var AccountService$1 = /** @class */ (function () {
|
|
45
|
-
function AccountService(restService) {
|
|
46
|
-
var _this = this;
|
|
47
|
-
this.restService = restService;
|
|
48
|
-
this.apiName = 'AbpAccount';
|
|
49
|
-
this.checkPasswordByLogin = function (login) { return _this.restService.request({
|
|
50
|
-
method: 'POST',
|
|
51
|
-
url: '/api/account/check-password',
|
|
52
|
-
body: login,
|
|
53
|
-
}, { apiName: _this.apiName }); };
|
|
54
|
-
this.loginByLogin = function (login) { return _this.restService.request({
|
|
55
|
-
method: 'POST',
|
|
56
|
-
url: '/api/account/login',
|
|
57
|
-
body: login,
|
|
58
|
-
}, { apiName: _this.apiName }); };
|
|
59
|
-
this.logout = function () { return _this.restService.request({
|
|
60
|
-
method: 'GET',
|
|
61
|
-
url: '/api/account/logout',
|
|
62
|
-
}, { apiName: _this.apiName }); };
|
|
63
|
-
}
|
|
64
|
-
return AccountService;
|
|
65
|
-
}());
|
|
66
|
-
AccountService$1.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AccountService$1, deps: [{ token: i1__namespace.RestService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
67
|
-
AccountService$1.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AccountService$1, providedIn: 'root' });
|
|
68
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AccountService$1, decorators: [{
|
|
69
|
-
type: i0.Injectable,
|
|
70
|
-
args: [{
|
|
71
|
-
providedIn: 'root',
|
|
72
|
-
}]
|
|
44
|
+
var AccountService$1 = /** @class */ (function () {
|
|
45
|
+
function AccountService(restService) {
|
|
46
|
+
var _this = this;
|
|
47
|
+
this.restService = restService;
|
|
48
|
+
this.apiName = 'AbpAccount';
|
|
49
|
+
this.checkPasswordByLogin = function (login) { return _this.restService.request({
|
|
50
|
+
method: 'POST',
|
|
51
|
+
url: '/api/account/check-password',
|
|
52
|
+
body: login,
|
|
53
|
+
}, { apiName: _this.apiName }); };
|
|
54
|
+
this.loginByLogin = function (login) { return _this.restService.request({
|
|
55
|
+
method: 'POST',
|
|
56
|
+
url: '/api/account/login',
|
|
57
|
+
body: login,
|
|
58
|
+
}, { apiName: _this.apiName }); };
|
|
59
|
+
this.logout = function () { return _this.restService.request({
|
|
60
|
+
method: 'GET',
|
|
61
|
+
url: '/api/account/logout',
|
|
62
|
+
}, { apiName: _this.apiName }); };
|
|
63
|
+
}
|
|
64
|
+
return AccountService;
|
|
65
|
+
}());
|
|
66
|
+
AccountService$1.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AccountService$1, deps: [{ token: i1__namespace.RestService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
67
|
+
AccountService$1.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AccountService$1, providedIn: 'root' });
|
|
68
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AccountService$1, decorators: [{
|
|
69
|
+
type: i0.Injectable,
|
|
70
|
+
args: [{
|
|
71
|
+
providedIn: 'root',
|
|
72
|
+
}]
|
|
73
73
|
}], ctorParameters: function () { return [{ type: i1__namespace.RestService }]; } });
|
|
74
74
|
|
|
75
75
|
var index$3 = /*#__PURE__*/Object.freeze({
|
|
@@ -93,71 +93,71 @@
|
|
|
93
93
|
Areas: index$1
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
var AccountService = /** @class */ (function () {
|
|
97
|
-
function AccountService(restService) {
|
|
98
|
-
var _this = this;
|
|
99
|
-
this.restService = restService;
|
|
100
|
-
this.apiName = 'AbpAccount';
|
|
101
|
-
this.register = function (input) { return _this.restService.request({
|
|
102
|
-
method: 'POST',
|
|
103
|
-
url: '/api/account/register',
|
|
104
|
-
body: input,
|
|
105
|
-
}, { apiName: _this.apiName }); };
|
|
106
|
-
this.resetPassword = function (input) { return _this.restService.request({
|
|
107
|
-
method: 'POST',
|
|
108
|
-
url: '/api/account/reset-password',
|
|
109
|
-
body: input,
|
|
110
|
-
}, { apiName: _this.apiName }); };
|
|
111
|
-
this.sendPasswordResetCode = function (input) { return _this.restService.request({
|
|
112
|
-
method: 'POST',
|
|
113
|
-
url: '/api/account/send-password-reset-code',
|
|
114
|
-
body: input,
|
|
115
|
-
}, { apiName: _this.apiName }); };
|
|
116
|
-
}
|
|
117
|
-
return AccountService;
|
|
118
|
-
}());
|
|
119
|
-
AccountService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AccountService, deps: [{ token: i1__namespace.RestService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
120
|
-
AccountService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AccountService, providedIn: 'root' });
|
|
121
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AccountService, decorators: [{
|
|
122
|
-
type: i0.Injectable,
|
|
123
|
-
args: [{
|
|
124
|
-
providedIn: 'root',
|
|
125
|
-
}]
|
|
96
|
+
var AccountService = /** @class */ (function () {
|
|
97
|
+
function AccountService(restService) {
|
|
98
|
+
var _this = this;
|
|
99
|
+
this.restService = restService;
|
|
100
|
+
this.apiName = 'AbpAccount';
|
|
101
|
+
this.register = function (input) { return _this.restService.request({
|
|
102
|
+
method: 'POST',
|
|
103
|
+
url: '/api/account/register',
|
|
104
|
+
body: input,
|
|
105
|
+
}, { apiName: _this.apiName }); };
|
|
106
|
+
this.resetPassword = function (input) { return _this.restService.request({
|
|
107
|
+
method: 'POST',
|
|
108
|
+
url: '/api/account/reset-password',
|
|
109
|
+
body: input,
|
|
110
|
+
}, { apiName: _this.apiName }); };
|
|
111
|
+
this.sendPasswordResetCode = function (input) { return _this.restService.request({
|
|
112
|
+
method: 'POST',
|
|
113
|
+
url: '/api/account/send-password-reset-code',
|
|
114
|
+
body: input,
|
|
115
|
+
}, { apiName: _this.apiName }); };
|
|
116
|
+
}
|
|
117
|
+
return AccountService;
|
|
118
|
+
}());
|
|
119
|
+
AccountService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AccountService, deps: [{ token: i1__namespace.RestService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
120
|
+
AccountService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AccountService, providedIn: 'root' });
|
|
121
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AccountService, decorators: [{
|
|
122
|
+
type: i0.Injectable,
|
|
123
|
+
args: [{
|
|
124
|
+
providedIn: 'root',
|
|
125
|
+
}]
|
|
126
126
|
}], ctorParameters: function () { return [{ type: i1__namespace.RestService }]; } });
|
|
127
127
|
|
|
128
|
-
var ProfileService = /** @class */ (function () {
|
|
129
|
-
function ProfileService(restService) {
|
|
130
|
-
var _this = this;
|
|
131
|
-
this.restService = restService;
|
|
132
|
-
this.apiName = 'AbpAccount';
|
|
133
|
-
this.changePassword = function (input) { return _this.restService.request({
|
|
134
|
-
method: 'POST',
|
|
135
|
-
url: '/api/account/my-profile/change-password',
|
|
136
|
-
body: input,
|
|
137
|
-
}, { apiName: _this.apiName }); };
|
|
138
|
-
this.get = function () { return _this.restService.request({
|
|
139
|
-
method: 'GET',
|
|
140
|
-
url: '/api/account/my-profile',
|
|
141
|
-
}, { apiName: _this.apiName }); };
|
|
142
|
-
this.update = function (input) { return _this.restService.request({
|
|
143
|
-
method: 'PUT',
|
|
144
|
-
url: '/api/account/my-profile',
|
|
145
|
-
body: input,
|
|
146
|
-
}, { apiName: _this.apiName }); };
|
|
147
|
-
}
|
|
148
|
-
return ProfileService;
|
|
149
|
-
}());
|
|
150
|
-
ProfileService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ProfileService, deps: [{ token: i1__namespace.RestService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
151
|
-
ProfileService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ProfileService, providedIn: 'root' });
|
|
152
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ProfileService, decorators: [{
|
|
153
|
-
type: i0.Injectable,
|
|
154
|
-
args: [{
|
|
155
|
-
providedIn: 'root',
|
|
156
|
-
}]
|
|
128
|
+
var ProfileService = /** @class */ (function () {
|
|
129
|
+
function ProfileService(restService) {
|
|
130
|
+
var _this = this;
|
|
131
|
+
this.restService = restService;
|
|
132
|
+
this.apiName = 'AbpAccount';
|
|
133
|
+
this.changePassword = function (input) { return _this.restService.request({
|
|
134
|
+
method: 'POST',
|
|
135
|
+
url: '/api/account/my-profile/change-password',
|
|
136
|
+
body: input,
|
|
137
|
+
}, { apiName: _this.apiName }); };
|
|
138
|
+
this.get = function () { return _this.restService.request({
|
|
139
|
+
method: 'GET',
|
|
140
|
+
url: '/api/account/my-profile',
|
|
141
|
+
}, { apiName: _this.apiName }); };
|
|
142
|
+
this.update = function (input) { return _this.restService.request({
|
|
143
|
+
method: 'PUT',
|
|
144
|
+
url: '/api/account/my-profile',
|
|
145
|
+
body: input,
|
|
146
|
+
}, { apiName: _this.apiName }); };
|
|
147
|
+
}
|
|
148
|
+
return ProfileService;
|
|
149
|
+
}());
|
|
150
|
+
ProfileService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ProfileService, deps: [{ token: i1__namespace.RestService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
151
|
+
ProfileService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ProfileService, providedIn: 'root' });
|
|
152
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ProfileService, decorators: [{
|
|
153
|
+
type: i0.Injectable,
|
|
154
|
+
args: [{
|
|
155
|
+
providedIn: 'root',
|
|
156
|
+
}]
|
|
157
157
|
}], ctorParameters: function () { return [{ type: i1__namespace.RestService }]; } });
|
|
158
158
|
|
|
159
|
-
/**
|
|
160
|
-
* Generated bundle index. Do not edit.
|
|
159
|
+
/**
|
|
160
|
+
* Generated bundle index. Do not edit.
|
|
161
161
|
*/
|
|
162
162
|
|
|
163
163
|
exports.AccountService = AccountService;
|