@intuitionrobotics/user-account 0.46.0 → 0.47.0
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/app-backend/api/_user-account.js +20 -2
- package/app-backend/api/_user-account.js.map +1 -1
- package/app-backend/api/v1/account/_assert.d.ts +2 -3
- package/app-backend/api/v1/account/_assert.js +24 -6
- package/app-backend/api/v1/account/_assert.js.map +1 -1
- package/app-backend/api/v1/account/_imports.d.ts +4 -0
- package/app-backend/api/v1/account/_imports.js +40 -0
- package/app-backend/api/v1/account/_imports.js.map +1 -0
- package/app-backend/api/v1/account/create.js +24 -6
- package/app-backend/api/v1/account/create.js.map +1 -1
- package/app-backend/api/v1/account/list.js +24 -6
- package/app-backend/api/v1/account/list.js.map +1 -1
- package/app-backend/api/v1/account/login-saml.js +22 -4
- package/app-backend/api/v1/account/login-saml.js.map +1 -1
- package/app-backend/api/v1/account/login.js +24 -12
- package/app-backend/api/v1/account/login.js.map +1 -1
- package/app-backend/api/v1/account/logout.js +26 -9
- package/app-backend/api/v1/account/logout.js.map +1 -1
- package/app-backend/api/v1/account/upsert.js +9 -10
- package/app-backend/api/v1/account/upsert.js.map +1 -1
- package/app-backend/api/v1/account/validate.js +24 -6
- package/app-backend/api/v1/account/validate.js.map +1 -1
- package/app-backend/apis/add-new-account.d.ts +3 -3
- package/app-backend/apis/add-new-account.js +24 -12
- package/app-backend/apis/add-new-account.js.map +1 -1
- package/app-backend/core/module-pack.d.ts +2 -0
- package/app-backend/core/module-pack.js +34 -0
- package/app-backend/core/module-pack.js.map +1 -1
- package/app-backend/modules/AccountModule.d.ts +8 -11
- package/app-backend/modules/AccountModule.js +85 -61
- package/app-backend/modules/AccountModule.js.map +1 -1
- package/app-backend/modules/JWTBuilder.d.ts +1 -1
- package/app-backend/modules/JWTBuilder.js +6 -7
- package/app-backend/modules/JWTBuilder.js.map +1 -1
- package/app-backend/modules/SamlModule.d.ts +4 -5
- package/app-backend/modules/SamlModule.js +23 -7
- package/app-backend/modules/SamlModule.js.map +1 -1
- package/app-backend/modules/SecretsModule.d.ts +4 -6
- package/app-backend/modules/SecretsModule.js +27 -30
- package/app-backend/modules/SecretsModule.js.map +1 -1
- package/app-backend/modules/{types.d.ts → _imports.d.ts} +4 -3
- package/app-backend/modules/_imports.js +36 -0
- package/app-backend/modules/_imports.js.map +1 -0
- package/app-frontend/core/module-pack.d.ts +1 -0
- package/app-frontend/core/module-pack.js +33 -0
- package/app-frontend/core/module-pack.js.map +1 -1
- package/app-frontend/modules/AccountModule.d.ts +4 -5
- package/app-frontend/modules/AccountModule.js +54 -42
- package/app-frontend/modules/AccountModule.js.map +1 -1
- package/app-frontend/ui/Component_Login.d.ts +21 -0
- package/app-frontend/ui/Component_Login.js +86 -0
- package/app-frontend/ui/Component_Login.js.map +1 -0
- package/app-frontend/ui/Component_Register.d.ts +17 -0
- package/app-frontend/ui/Component_Register.js +92 -0
- package/app-frontend/ui/Component_Register.js.map +1 -0
- package/backend.d.ts +2 -0
- package/backend.js +37 -0
- package/backend.js.map +1 -0
- package/frontend.d.ts +3 -0
- package/frontend.js +38 -0
- package/frontend.js.map +1 -0
- package/index.d.ts +2 -0
- package/index.js +35 -0
- package/index.js.map +1 -1
- package/package.json +8 -7
- package/shared/api.d.ts +25 -25
- package/shared/api.js +19 -1
- package/shared/api.js.map +1 -1
- package/shared/types.d.ts +0 -0
- package/shared/types.js +20 -0
- package/shared/types.js.map +1 -0
- package/shared/utils/AuthenticationConsts.js.map +1 -1
- package/app-backend/modules/types.js +0 -3
- package/app-backend/modules/types.js.map +0 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Request_LoginAccount } from "../../shared/api";
|
|
3
|
+
export type ValueAndError = {
|
|
4
|
+
value?: string;
|
|
5
|
+
error?: string;
|
|
6
|
+
};
|
|
7
|
+
type State<T> = {
|
|
8
|
+
data: Partial<T>;
|
|
9
|
+
};
|
|
10
|
+
type Props<T> = {
|
|
11
|
+
validate?: (data: Partial<T>) => string | undefined;
|
|
12
|
+
};
|
|
13
|
+
export declare class Component_Login extends React.Component<Props<Request_LoginAccount>, State<Request_LoginAccount>> {
|
|
14
|
+
state: {
|
|
15
|
+
data: Partial<Request_LoginAccount>;
|
|
16
|
+
};
|
|
17
|
+
render(): React.JSX.Element;
|
|
18
|
+
private onValueChanged;
|
|
19
|
+
private loginClicked;
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Permissions management system, define access level for each of
|
|
4
|
+
* your server apis, and restrict users by giving them access levels
|
|
5
|
+
*
|
|
6
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*/
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
exports.Component_Login = void 0;
|
|
22
|
+
const React = require("react");
|
|
23
|
+
const ts_common_1 = require("@intuitionrobotics/ts-common");
|
|
24
|
+
const AccountModule_1 = require("../modules/AccountModule");
|
|
25
|
+
const frontend_1 = require("@intuitionrobotics/thunderstorm/frontend");
|
|
26
|
+
const style = {
|
|
27
|
+
"height": "38px",
|
|
28
|
+
"borderRadius": "25px",
|
|
29
|
+
"backgroundColor": "#9c9ccd",
|
|
30
|
+
"borderWidth": "0",
|
|
31
|
+
"textAlign": "left",
|
|
32
|
+
"padding": "0 15px",
|
|
33
|
+
"color": "white",
|
|
34
|
+
"marginTop": "10px"
|
|
35
|
+
};
|
|
36
|
+
const form = {
|
|
37
|
+
email: {
|
|
38
|
+
type: "text",
|
|
39
|
+
hint: "email",
|
|
40
|
+
label: "Email",
|
|
41
|
+
},
|
|
42
|
+
password: {
|
|
43
|
+
type: "password",
|
|
44
|
+
hint: "****",
|
|
45
|
+
label: "Password",
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
class Component_Login extends React.Component {
|
|
49
|
+
constructor() {
|
|
50
|
+
super(...arguments);
|
|
51
|
+
this.state = {
|
|
52
|
+
data: {},
|
|
53
|
+
};
|
|
54
|
+
this.onValueChanged = (value, id) => {
|
|
55
|
+
this.setState(state => {
|
|
56
|
+
state.data[id] = value;
|
|
57
|
+
return state;
|
|
58
|
+
});
|
|
59
|
+
};
|
|
60
|
+
this.loginClicked = () => {
|
|
61
|
+
const data = this.state.data;
|
|
62
|
+
const errors = (0, ts_common_1._keys)(form).map(key => {
|
|
63
|
+
const field = form[key];
|
|
64
|
+
return data[key] ? undefined : ` * missing ${field.label}`;
|
|
65
|
+
}).filter(error => !!error);
|
|
66
|
+
const validateError = this.props.validate && this.props.validate(data);
|
|
67
|
+
if (validateError)
|
|
68
|
+
(0, ts_common_1.addItemToArray)(errors, validateError);
|
|
69
|
+
if (errors.length > 0)
|
|
70
|
+
return frontend_1.ToastModule.toastError(`Wrong input:\n${errors.join("\n")}`);
|
|
71
|
+
AccountModule_1.AccountModule.login(this.state.data);
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
render() {
|
|
75
|
+
const data = this.state.data;
|
|
76
|
+
return React.createElement(React.Fragment, null,
|
|
77
|
+
React.createElement("div", { className: 'll_v_c', style: { justifyContent: 'space-evenly' } }, (0, ts_common_1._keys)(form).map(key => {
|
|
78
|
+
const field = form[key];
|
|
79
|
+
return React.createElement(frontend_1.TS_Input, { id: key, key: key, value: data[key], type: field.type, placeholder: field.hint, onChange: this.onValueChanged, onAccept: this.loginClicked });
|
|
80
|
+
})),
|
|
81
|
+
React.createElement("div", { className: 'll_h_c', style: { justifyContent: 'center' } },
|
|
82
|
+
React.createElement("button", { onClick: this.loginClicked, className: `clickable`, style: style }, "Login")));
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.Component_Login = Component_Login;
|
|
86
|
+
//# sourceMappingURL=Component_Login.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Component_Login.js","sourceRoot":"","sources":["../../../src/main/app-frontend/ui/Component_Login.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAEH,+BAA+B;AAE/B,4DAGsC;AACtC,4DAAuD;AAEvD,uEAGkD;AAelD,MAAM,KAAK,GAAkB;IAC5B,QAAQ,EAAE,MAAM;IAChB,cAAc,EAAE,MAAM;IACtB,iBAAiB,EAAE,SAAS;IAC5B,aAAa,EAAE,GAAG;IAClB,WAAW,EAAE,MAAM;IACnB,SAAS,EAAE,QAAQ;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,MAAM;CACnB,CAAC;AAUF,MAAM,IAAI,GAAkD;IAC3D,KAAK,EAAE;QACN,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,OAAO;KACd;IACD,QAAQ,EAAE;QACT,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,UAAU;KACjB;CACD,CAAC;AAEF,MAAa,eACZ,SAAQ,KAAK,CAAC,SAAmE;IADlF;;QAGC,UAAK,GAAG;YACP,IAAI,EAAE,EAAmC;SACzC,CAAC;QA2BM,mBAAc,GAAG,CAAC,KAAa,EAAE,EAAiD,EAAE,EAAE;YAC7F,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;gBACrB,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC;gBACv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,CAAC,CAAC;gBACxB,OAAO,oBAAC,mBAAQ,IACf,EAAE,EAAE,GAAG,EACP,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,EAChB,IAAI,EAAE,KAAK,CAAC,IAAI,EAChB,WAAW,EAAE,KAAK,CAAC,IAAI,EACvB,QAAQ,EAAE,IAAI,CAAC,cAAc,EAC7B,QAAQ,EAAE,IAAI,CAAC,YAAY,GAC1B,CAAC;YACJ,CAAC,CACjB,CACI;YACN,6BAAK,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAC,cAAc,EAAE,QAAQ,EAAC;gBAC1D,gCAAQ,OAAO,EAAE,IAAI,CAAC,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,YAC/D,CACJ,CACJ,CAAC;IACL,CAAC;CAyBD;AAvDD,0CAuDC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Request_CreateAccount } from "../../shared/api";
|
|
3
|
+
type State<T> = {
|
|
4
|
+
data: Partial<T>;
|
|
5
|
+
};
|
|
6
|
+
type Props<T> = {
|
|
7
|
+
validate?: (data: Partial<T>) => string | undefined;
|
|
8
|
+
};
|
|
9
|
+
export declare class Component_Register extends React.Component<Props<Request_CreateAccount>, State<Request_CreateAccount>> {
|
|
10
|
+
state: {
|
|
11
|
+
data: Partial<Request_CreateAccount>;
|
|
12
|
+
};
|
|
13
|
+
render(): React.JSX.Element;
|
|
14
|
+
private onValueChanged;
|
|
15
|
+
private registerClicked;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Permissions management system, define access level for each of
|
|
4
|
+
* your server apis, and restrict users by giving them access levels
|
|
5
|
+
*
|
|
6
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*/
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
exports.Component_Register = void 0;
|
|
22
|
+
const React = require("react");
|
|
23
|
+
const ts_common_1 = require("@intuitionrobotics/ts-common");
|
|
24
|
+
const AccountModule_1 = require("../modules/AccountModule");
|
|
25
|
+
const frontend_1 = require("@intuitionrobotics/thunderstorm/frontend");
|
|
26
|
+
const style = {
|
|
27
|
+
"height": "38px",
|
|
28
|
+
"borderRadius": "25px",
|
|
29
|
+
"backgroundColor": "#9c9ccd",
|
|
30
|
+
"borderWidth": "0",
|
|
31
|
+
"textAlign": "left",
|
|
32
|
+
"padding": "0 15px",
|
|
33
|
+
"color": "white",
|
|
34
|
+
"marginTop": "10px"
|
|
35
|
+
};
|
|
36
|
+
const form = {
|
|
37
|
+
email: {
|
|
38
|
+
className: "",
|
|
39
|
+
type: "text",
|
|
40
|
+
hint: "email",
|
|
41
|
+
label: "Email",
|
|
42
|
+
},
|
|
43
|
+
password: {
|
|
44
|
+
type: "password",
|
|
45
|
+
hint: "****",
|
|
46
|
+
label: "Password",
|
|
47
|
+
},
|
|
48
|
+
password_check: {
|
|
49
|
+
type: "password",
|
|
50
|
+
hint: "****",
|
|
51
|
+
label: "Password Check",
|
|
52
|
+
},
|
|
53
|
+
};
|
|
54
|
+
class Component_Register extends React.Component {
|
|
55
|
+
constructor() {
|
|
56
|
+
super(...arguments);
|
|
57
|
+
this.state = {
|
|
58
|
+
data: {},
|
|
59
|
+
};
|
|
60
|
+
this.onValueChanged = (value, id) => {
|
|
61
|
+
this.setState(state => {
|
|
62
|
+
state.data[id] = value;
|
|
63
|
+
return state;
|
|
64
|
+
});
|
|
65
|
+
};
|
|
66
|
+
this.registerClicked = () => {
|
|
67
|
+
const data = this.state.data;
|
|
68
|
+
const errors = (0, ts_common_1._keys)(form).map(key => {
|
|
69
|
+
const field = form[key];
|
|
70
|
+
return data[key] ? undefined : ` * missing ${field.label}`;
|
|
71
|
+
}).filter(error => !!error);
|
|
72
|
+
const validateError = this.props.validate && this.props.validate(data);
|
|
73
|
+
if (validateError)
|
|
74
|
+
(0, ts_common_1.addItemToArray)(errors, validateError);
|
|
75
|
+
if (errors.length > 0)
|
|
76
|
+
return frontend_1.ToastModule.toastError(`Wrong input:\n${errors.join("\n")}`);
|
|
77
|
+
AccountModule_1.AccountModule.create(this.state.data);
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
render() {
|
|
81
|
+
const data = this.state.data;
|
|
82
|
+
return React.createElement(React.Fragment, null,
|
|
83
|
+
React.createElement("div", { className: 'll_v_c', style: { justifyContent: 'space-evenly' } }, (0, ts_common_1._keys)(form).map(key => {
|
|
84
|
+
const field = form[key];
|
|
85
|
+
return React.createElement(frontend_1.TS_Input, { id: key, value: data[key], type: field.type, placeholder: field === null || field === void 0 ? void 0 : field.hint, onChange: this.onValueChanged, onAccept: this.registerClicked });
|
|
86
|
+
})),
|
|
87
|
+
React.createElement("div", { className: 'll_h_c', style: { justifyContent: 'center' } },
|
|
88
|
+
React.createElement("button", { onClick: this.registerClicked, className: `clickable`, style: style }, "Register")));
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.Component_Register = Component_Register;
|
|
92
|
+
//# sourceMappingURL=Component_Register.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Component_Register.js","sourceRoot":"","sources":["../../../src/main/app-frontend/ui/Component_Register.tsx"],"names":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AI,CAAC,eAAe,GAC7B,CAAA;YACH,CAAC,CACjB,CACI;YACN,6BAAK,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAC,cAAc,EAAE,QAAQ,EAAC;gBAC1D,gCAAQ,OAAO,EAAE,IAAI,CAAC,eAAe,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,eAClE,CACJ,CACJ,CAAC;IACL,CAAC;CAyBD;AAtDD,gDAsDC"}
|
package/backend.d.ts
ADDED
package/backend.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Permissions management system, define access level for each of
|
|
4
|
+
* your server apis, and restrict users by giving them access levels
|
|
5
|
+
*
|
|
6
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*/
|
|
20
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
23
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
24
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
25
|
+
}
|
|
26
|
+
Object.defineProperty(o, k2, desc);
|
|
27
|
+
}) : (function(o, m, k, k2) {
|
|
28
|
+
if (k2 === undefined) k2 = k;
|
|
29
|
+
o[k2] = m[k];
|
|
30
|
+
}));
|
|
31
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
32
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
__exportStar(require("./app-backend/core/module-pack"), exports);
|
|
36
|
+
__exportStar(require("./app-backend/apis/add-new-account"), exports);
|
|
37
|
+
//# sourceMappingURL=backend.js.map
|
package/backend.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backend.js","sourceRoot":"","sources":["../src/main/backend.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;AAEH,iEAA+C;AAC/C,qEAAmD"}
|
package/frontend.d.ts
ADDED
package/frontend.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Permissions management system, define access level for each of
|
|
4
|
+
* your server apis, and restrict users by giving them access levels
|
|
5
|
+
*
|
|
6
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*/
|
|
20
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
23
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
24
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
25
|
+
}
|
|
26
|
+
Object.defineProperty(o, k2, desc);
|
|
27
|
+
}) : (function(o, m, k, k2) {
|
|
28
|
+
if (k2 === undefined) k2 = k;
|
|
29
|
+
o[k2] = m[k];
|
|
30
|
+
}));
|
|
31
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
32
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
__exportStar(require("./app-frontend/core/module-pack"), exports);
|
|
36
|
+
__exportStar(require("./app-frontend/ui/Component_Login"), exports);
|
|
37
|
+
__exportStar(require("./app-frontend/ui/Component_Register"), exports);
|
|
38
|
+
//# sourceMappingURL=frontend.js.map
|
package/frontend.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"frontend.js","sourceRoot":"","sources":["../src/main/frontend.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;AAEH,kEAAgD;AAChD,oEAAkD;AAClD,uEAAqD"}
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -1,2 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Permissions management system, define access level for each of
|
|
4
|
+
* your server apis, and restrict users by giving them access levels
|
|
5
|
+
*
|
|
6
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*/
|
|
20
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
23
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
24
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
25
|
+
}
|
|
26
|
+
Object.defineProperty(o, k2, desc);
|
|
27
|
+
}) : (function(o, m, k, k2) {
|
|
28
|
+
if (k2 === undefined) k2 = k;
|
|
29
|
+
o[k2] = m[k];
|
|
30
|
+
}));
|
|
31
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
32
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
__exportStar(require("./shared/api"), exports);
|
|
36
|
+
__exportStar(require("./shared/utils/AuthenticationConsts"), exports);
|
|
2
37
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/main/index.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/main/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;AAEH,+CAA6B;AAC7B,sEAAoD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intuitionrobotics/user-account",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.47.0",
|
|
4
4
|
"description": "User Account",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"IR",
|
|
@@ -27,24 +27,25 @@
|
|
|
27
27
|
"main": "./index.js",
|
|
28
28
|
"types": "./index.d.ts",
|
|
29
29
|
"scripts": {
|
|
30
|
-
"build": "tsc"
|
|
30
|
+
"build": "tsc -v && tsc -p src/main/tsconfig.json --rootDir ./src/main --outDir dist"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@intuitionrobotics/firebase": "~0.
|
|
34
|
-
"@intuitionrobotics/thunderstorm": "~0.
|
|
35
|
-
"@intuitionrobotics/ts-common": "~0.
|
|
33
|
+
"@intuitionrobotics/firebase": "~0.47.0",
|
|
34
|
+
"@intuitionrobotics/thunderstorm": "~0.47.0",
|
|
35
|
+
"@intuitionrobotics/ts-common": "~0.47.0",
|
|
36
36
|
"react": "^16.0.0",
|
|
37
37
|
"jws": "^4.0.0",
|
|
38
|
+
"moment": "^2.29.4",
|
|
38
39
|
"saml2-js": "^4.0.0"
|
|
39
40
|
},
|
|
40
41
|
"devDependencies": {
|
|
41
|
-
"@intuitionrobotics/testelot": "~0.
|
|
42
|
+
"@intuitionrobotics/testelot": "~0.47.0",
|
|
42
43
|
"@types/node": "^16.0.0",
|
|
43
44
|
"@types/jws": "^3.2.4",
|
|
44
45
|
"@types/react": "^16.8.7",
|
|
45
46
|
"@types/saml2-js": "^3.0.0",
|
|
46
47
|
"ts-node": "^8.6.2",
|
|
47
48
|
"tslint": "^5.16.0",
|
|
48
|
-
"typescript": "
|
|
49
|
+
"typescript": "^5.3.0"
|
|
49
50
|
}
|
|
50
51
|
}
|
package/shared/api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiWithBody, ApiWithQuery } from "@intuitionrobotics/thunderstorm
|
|
1
|
+
import { ApiWithBody, ApiWithQuery } from "@intuitionrobotics/thunderstorm";
|
|
2
2
|
export declare const HeaderKey_SessionId = "x-session-id";
|
|
3
3
|
export declare const HeaderKey_Email = "x-email";
|
|
4
4
|
export declare const QueryParam_Email = "userEmail";
|
|
@@ -10,70 +10,70 @@ export declare enum FrontType {
|
|
|
10
10
|
Web = "web",
|
|
11
11
|
App = "app"
|
|
12
12
|
}
|
|
13
|
-
export
|
|
13
|
+
export type BaseSession = {
|
|
14
14
|
userId: string;
|
|
15
15
|
timestamp: number;
|
|
16
16
|
frontType?: FrontType;
|
|
17
17
|
version?: string;
|
|
18
18
|
};
|
|
19
|
-
export
|
|
19
|
+
export type DB_Session = BaseSession & {
|
|
20
20
|
sessionId: string;
|
|
21
21
|
};
|
|
22
|
-
export
|
|
22
|
+
export type UI_Session = BaseSession & {
|
|
23
23
|
isExpired: boolean;
|
|
24
24
|
};
|
|
25
|
-
export
|
|
25
|
+
export type Response_Auth = UI_Account & {
|
|
26
26
|
jwt: string;
|
|
27
27
|
sessionId: string;
|
|
28
28
|
};
|
|
29
|
-
export
|
|
29
|
+
export type Request_UpsertAccount = {
|
|
30
30
|
email: string;
|
|
31
31
|
password: string;
|
|
32
32
|
password_check: string;
|
|
33
33
|
frontType?: FrontType;
|
|
34
34
|
};
|
|
35
|
-
export
|
|
35
|
+
export type Request_CreateAccount = {
|
|
36
36
|
email: string;
|
|
37
37
|
password: string;
|
|
38
38
|
password_check: string;
|
|
39
39
|
};
|
|
40
|
-
export
|
|
40
|
+
export type Request_AddNewAccount = {
|
|
41
41
|
email: string;
|
|
42
42
|
password?: string;
|
|
43
43
|
password_check?: string;
|
|
44
44
|
};
|
|
45
|
-
export
|
|
45
|
+
export type Request_LoginAccount = {
|
|
46
46
|
email: string;
|
|
47
47
|
password: string;
|
|
48
48
|
frontType?: FrontType;
|
|
49
49
|
};
|
|
50
|
-
export
|
|
50
|
+
export type Request_ValidateSession = {
|
|
51
51
|
sessionId: string;
|
|
52
52
|
};
|
|
53
|
-
export
|
|
53
|
+
export type Response_LoginSAML = {
|
|
54
54
|
loginUrl: string;
|
|
55
55
|
};
|
|
56
|
-
export
|
|
57
|
-
export
|
|
56
|
+
export type Response_Validation = UI_Account;
|
|
57
|
+
export type UI_Account = {
|
|
58
58
|
email: string;
|
|
59
59
|
_id: string;
|
|
60
60
|
};
|
|
61
|
-
export
|
|
61
|
+
export type Response_ListAccounts = {
|
|
62
62
|
accounts: UI_Account[];
|
|
63
63
|
};
|
|
64
|
-
export
|
|
64
|
+
export type RequestParams_LoginSAML = {
|
|
65
65
|
[QueryParam_RedirectUrl]: string;
|
|
66
66
|
};
|
|
67
|
-
export
|
|
67
|
+
export type PostAssertBody = {
|
|
68
68
|
SAMLResponse: string;
|
|
69
69
|
RelayState: string;
|
|
70
70
|
};
|
|
71
|
-
export
|
|
72
|
-
export
|
|
73
|
-
export
|
|
74
|
-
export
|
|
75
|
-
export
|
|
76
|
-
export
|
|
77
|
-
export
|
|
78
|
-
export
|
|
79
|
-
export
|
|
71
|
+
export type AccountApi_AddNewAccount = ApiWithBody<'/v1/account/add-new-account', Request_AddNewAccount, UI_Account>;
|
|
72
|
+
export type AccountApi_Create = ApiWithBody<'/v1/account/create', Request_CreateAccount, Response_Auth>;
|
|
73
|
+
export type AccountApi_Upsert = ApiWithBody<'/v1/account/upsert', Request_UpsertAccount, UI_Account>;
|
|
74
|
+
export type AccountApi_Login = ApiWithBody<'/v1/account/login', Request_LoginAccount, Response_Auth>;
|
|
75
|
+
export type AccountApi_Logout = ApiWithBody<'/v1/account/logout', {}, void>;
|
|
76
|
+
export type AccountApi_LoginSAML = ApiWithQuery<"/v1/account/login-saml", Response_LoginSAML, RequestParams_LoginSAML>;
|
|
77
|
+
export type AccountApi_ValidateSession = ApiWithQuery<'/v1/account/validate', Response_Validation>;
|
|
78
|
+
export type AccountApi_AssertLoginSAML = ApiWithBody<"/v1/account/assert", PostAssertBody, void>;
|
|
79
|
+
export type AccountApi_ListAccounts = ApiWithQuery<'/v1/account/query', Response_ListAccounts>;
|
package/shared/api.js
CHANGED
|
@@ -1,4 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Permissions management system, define access level for each of
|
|
4
|
+
* your server apis, and restrict users by giving them access levels
|
|
5
|
+
*
|
|
6
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*/
|
|
2
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
21
|
exports.FrontType = exports.HeaderKey_CurrentPage = exports.QueryParam_RedirectUrl = exports.QueryParam_SessionId = exports.QueryParam_JWT = exports.QueryParam_Email = exports.HeaderKey_Email = exports.HeaderKey_SessionId = void 0;
|
|
4
22
|
exports.HeaderKey_SessionId = "x-session-id";
|
|
@@ -12,5 +30,5 @@ var FrontType;
|
|
|
12
30
|
(function (FrontType) {
|
|
13
31
|
FrontType["Web"] = "web";
|
|
14
32
|
FrontType["App"] = "app";
|
|
15
|
-
})(FrontType
|
|
33
|
+
})(FrontType || (exports.FrontType = FrontType = {}));
|
|
16
34
|
//# sourceMappingURL=api.js.map
|
package/shared/api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/main/shared/api.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/main/shared/api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAIU,QAAA,mBAAmB,GAAG,cAAc,CAAC;AACrC,QAAA,eAAe,GAAG,SAAS,CAAC;AAE5B,QAAA,gBAAgB,GAAG,WAAW,CAAC;AAC/B,QAAA,cAAc,GAAG,KAAK,CAAC;AACvB,QAAA,oBAAoB,GAAG,2BAAmB,CAAC;AAC3C,QAAA,sBAAsB,GAAG,aAAa,CAAC;AACvC,QAAA,qBAAqB,GAAG,cAAc,CAAC;AAEpD,IAAY,SAGX;AAHD,WAAY,SAAS;IACjB,wBAAW,CAAA;IACX,wBAAW,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB"}
|
|
File without changes
|
package/shared/types.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Permissions management system, define access level for each of
|
|
4
|
+
* your server apis, and restrict users by giving them access levels
|
|
5
|
+
*
|
|
6
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*/
|
|
20
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/main/shared/types.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthenticationConsts.js","sourceRoot":"","sources":["../../../src/main/shared/utils/AuthenticationConsts.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"AuthenticationConsts.js","sourceRoot":"","sources":["../../../src/main/shared/utils/AuthenticationConsts.ts"],"names":[],"mappings":";;;AACa,QAAA,qBAAqB,GAAG,QAAQ,CAAC;AACjC,QAAA,kBAAkB,GAAG,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/main/app-backend/modules/types.ts"],"names":[],"mappings":""}
|