@flink-app/generic-auth-plugin 0.4.4 → 0.4.6
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/.flink/generatedHandlers.ts +1 -1
- package/.flink/generatedJobs.ts +1 -1
- package/.flink/generatedRepos.ts +1 -1
- package/.flink/schemas/schemas.json +145 -78
- package/.flink/schemas/schemas.ts +1 -1
- package/.flink/start.ts +1 -1
- package/dist/.flink/generatedHandlers.js +1 -1
- package/dist/.flink/generatedJobs.js +1 -1
- package/dist/.flink/generatedRepos.js +1 -1
- package/dist/.flink/schemas/schemas.json +145 -78
- package/dist/.flink/start.js +1 -1
- package/dist/src/handlers/Management/DeleteUserByUserid.js +1 -1
- package/dist/src/handlers/Management/GetUser.js +1 -1
- package/dist/src/handlers/Management/GetUserByUserid.js +1 -1
- package/dist/src/handlers/Management/GetUserViewByUserid.js +1 -1
- package/dist/src/handlers/Management/PutUserPasswordByUserid.js +1 -1
- package/dist/src/handlers/Management/PutUserProfileByUserid.js +1 -1
- package/dist/src/handlers/Management/PutUserProfileByUseridAppend.js +1 -1
- package/dist/src/handlers/Management/PutUserRolesByUserid.js +1 -1
- package/dist/src/handlers/Management/PutUserUsernameByUserid.js +1 -1
- package/dist/src/handlers/UserCreate.js +1 -1
- package/dist/src/handlers/UserLogin.js +1 -1
- package/dist/src/handlers/UserLoginByToken.js +1 -1
- package/dist/src/handlers/UserPasswordPut.js +1 -1
- package/dist/src/handlers/UserPasswordResetComplete.js +1 -1
- package/dist/src/handlers/UserPasswordResetStart.js +1 -1
- package/dist/src/handlers/UserProfileGet.js +1 -1
- package/dist/src/handlers/UserProfilePut.js +1 -1
- package/dist/src/handlers/UserPushRegisterToken.js +1 -1
- package/dist/src/handlers/UserPushRemoveToken.js +1 -1
- package/dist/src/handlers/UserToken.js +1 -1
- package/package.json +7 -7
|
@@ -63,4 +63,4 @@ var putUserPasswordHandler = function (_a) {
|
|
|
63
63
|
};
|
|
64
64
|
exports.default = putUserPasswordHandler;
|
|
65
65
|
exports.__assumedHttpMethod = "", exports.__file = "UserPasswordPut.ts", exports.__query = [], exports.__params = [];
|
|
66
|
-
exports.__schemas = { reqSchema: { "type": "object", "additionalProperties": false, "properties": { "password": { "type": "string" } }, "required": ["password"] }, resSchema: { "type": "object", "additionalProperties": false, "properties": { "status": { "type": "string", "enum": ["success", "failed", "passwordError"] } }, "required": ["status"] } };
|
|
66
|
+
exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "password": { "type": "string" } }, "required": ["password"], "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "status": { "type": "string", "enum": ["success", "failed", "passwordError"] } }, "required": ["status"], "definitions": {} } };
|
|
@@ -69,4 +69,4 @@ var postPasswordResetCompleteHandler = function (_a) {
|
|
|
69
69
|
};
|
|
70
70
|
exports.default = postPasswordResetCompleteHandler;
|
|
71
71
|
exports.__assumedHttpMethod = "", exports.__file = "UserPasswordResetComplete.ts", exports.__query = [], exports.__params = [];
|
|
72
|
-
exports.__schemas = { reqSchema: { "type": "object", "additionalProperties": false, "properties": { "passwordResetToken": { "type": "string" }, "code": { "type": "string" }, "password": { "type": "string" } }, "required": ["code", "password", "passwordResetToken"] }, resSchema: { "type": "object", "additionalProperties": false, "properties": { "status": { "type": "string", "enum": ["success", "userNotFound", "invalidCode", "passwordError"] } }, "required": ["status"] } };
|
|
72
|
+
exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "passwordResetToken": { "type": "string" }, "code": { "type": "string" }, "password": { "type": "string" } }, "required": ["code", "password", "passwordResetToken"], "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "status": { "type": "string", "enum": ["success", "userNotFound", "invalidCode", "passwordError"] } }, "required": ["status"], "definitions": {} } };
|
|
@@ -92,4 +92,4 @@ var postPasswordResetStartHandler = function (_a) {
|
|
|
92
92
|
};
|
|
93
93
|
exports.default = postPasswordResetStartHandler;
|
|
94
94
|
exports.__assumedHttpMethod = "", exports.__file = "UserPasswordResetStart.ts", exports.__query = [], exports.__params = [];
|
|
95
|
-
exports.__schemas = { reqSchema: { "type": "object", "additionalProperties": false, "properties": { "username": { "type": "string" } }, "required": ["username"] }, resSchema: { "type": "object", "additionalProperties": false, "properties": { "status": { "type": "string", "enum": ["success", "userNotFound"] }, "passwordResetToken": { "type": "string" }, "profile": { "type": "object" } }, "required": ["status"] } };
|
|
95
|
+
exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "username": { "type": "string" } }, "required": ["username"], "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "status": { "type": "string", "enum": ["success", "userNotFound"] }, "passwordResetToken": { "type": "string" }, "profile": { "type": "object" } }, "required": ["status"], "definitions": {} } };
|
|
@@ -63,4 +63,4 @@ var getProfileHandler = function (_a) {
|
|
|
63
63
|
};
|
|
64
64
|
exports.default = getProfileHandler;
|
|
65
65
|
exports.__assumedHttpMethod = "", exports.__file = "UserProfileGet.ts", exports.__query = [], exports.__params = [];
|
|
66
|
-
exports.__schemas = { reqSchema: { "type": "object", "properties": {} }, resSchema: undefined };
|
|
66
|
+
exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": {}, "definitions": {} }, resSchema: undefined };
|
|
@@ -81,4 +81,4 @@ var putUserProfileHandler = function (_a) {
|
|
|
81
81
|
};
|
|
82
82
|
exports.default = putUserProfileHandler;
|
|
83
83
|
exports.__assumedHttpMethod = "", exports.__file = "UserProfilePut.ts", exports.__query = [], exports.__params = [];
|
|
84
|
-
exports.__schemas = { reqSchema: { "type": "object", "properties": {} }, resSchema: { "type": "object", "properties": {} } };
|
|
84
|
+
exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": {}, "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": {}, "definitions": {} } };
|
|
@@ -72,4 +72,4 @@ var postUserPushRegisterTokenHandler = function (_a) {
|
|
|
72
72
|
};
|
|
73
73
|
exports.default = postUserPushRegisterTokenHandler;
|
|
74
74
|
exports.__assumedHttpMethod = "", exports.__file = "UserPushRegisterToken.ts", exports.__query = [], exports.__params = [];
|
|
75
|
-
exports.__schemas = { reqSchema: { "type": "object", "additionalProperties": false, "properties": { "deviceId": { "type": "string" }, "token": { "type": "string" } }, "required": ["deviceId", "token"] }, resSchema: { "type": "object", "additionalProperties": false, "properties": { "status": { "type": "string", "enum": ["success", "failed"] } }, "required": ["status"] } };
|
|
75
|
+
exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "deviceId": { "type": "string" }, "token": { "type": "string" } }, "required": ["deviceId", "token"], "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "status": { "type": "string", "enum": ["success", "failed"] } }, "required": ["status"], "definitions": {} } };
|
|
@@ -66,4 +66,4 @@ var postUserRemoveTokenHandler = function (_a) {
|
|
|
66
66
|
};
|
|
67
67
|
exports.default = postUserRemoveTokenHandler;
|
|
68
68
|
exports.__assumedHttpMethod = "", exports.__file = "UserPushRemoveToken.ts", exports.__query = [], exports.__params = [];
|
|
69
|
-
exports.__schemas = { reqSchema: { "type": "object", "additionalProperties": false, "properties": { "deviceId": { "type": "string" }, "token": { "type": "string" } }, "required": ["deviceId", "token"] }, resSchema: { "type": "object", "additionalProperties": false, "properties": { "status": { "type": "string", "enum": ["success", "failed"] } }, "required": ["status"] } };
|
|
69
|
+
exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "deviceId": { "type": "string" }, "token": { "type": "string" } }, "required": ["deviceId", "token"], "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "status": { "type": "string", "enum": ["success", "failed"] } }, "required": ["status"], "definitions": {} } };
|
|
@@ -66,4 +66,4 @@ var getUserTokenHandler = function (_a) {
|
|
|
66
66
|
};
|
|
67
67
|
exports.default = getUserTokenHandler;
|
|
68
68
|
exports.__assumedHttpMethod = "", exports.__file = "UserToken.ts", exports.__query = [], exports.__params = [];
|
|
69
|
-
exports.__schemas = { reqSchema: { "type": "object", "additionalProperties": false, "properties": { "token": { "type": "string" } }, "required": ["token"] }, resSchema: undefined };
|
|
69
|
+
exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "token": { "type": "string" } }, "required": ["token"], "definitions": {} }, resSchema: undefined };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flink-app/generic-auth-plugin",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
4
4
|
"description": "Flink plugin that provides a generic user authentification solution.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\"",
|
|
@@ -16,19 +16,19 @@
|
|
|
16
16
|
"types": "dist/src/index.d.ts",
|
|
17
17
|
"main": "dist/src/index.js",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@flink-app/email-plugin": "^0.4.
|
|
20
|
-
"@flink-app/jwt-auth-plugin": "^0.4.
|
|
21
|
-
"@flink-app/management-api-plugin": "^0.4.
|
|
22
|
-
"@flink-app/sms-plugin": "^0.4.
|
|
19
|
+
"@flink-app/email-plugin": "^0.4.6",
|
|
20
|
+
"@flink-app/jwt-auth-plugin": "^0.4.6",
|
|
21
|
+
"@flink-app/management-api-plugin": "^0.4.6",
|
|
22
|
+
"@flink-app/sms-plugin": "^0.4.6",
|
|
23
23
|
"handlebars": "^4.7.7",
|
|
24
24
|
"jsonwebtoken": "^8.5.1"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@flink-app/flink": "^0.4.
|
|
27
|
+
"@flink-app/flink": "^0.4.6",
|
|
28
28
|
"@types/jsonwebtoken": "^8.5.2",
|
|
29
29
|
"@types/node": "^15.6.2",
|
|
30
30
|
"ts-node": "^9.1.1",
|
|
31
31
|
"typescript": "^4.2.4"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "fc4e2f5febd2b8594d3ade42beb4e85eb7ada4ed"
|
|
34
34
|
}
|