Criação do handler de autenticação, para um futuro microserviço de auth

This commit is contained in:
unknown
2025-03-31 08:31:14 -03:00
parent 2fd5ae2b1f
commit 69e10717e8
18 changed files with 433 additions and 748 deletions

30
package-lock.json generated
View File

@@ -27,7 +27,7 @@
"aws-sdk": "^2.1692.0",
"axios": "^1.8.4",
"class-transformer": "^0.5.1",
"class-validator": "^0.6.8",
"class-validator": "^0.14.1",
"fs": "0.0.1-security",
"guid-typescript": "^1.0.9",
"https": "^1.0.0",
@@ -2750,6 +2750,12 @@
"@types/superagent": "*"
}
},
"node_modules/@types/validator": {
"version": "13.12.3",
"resolved": "https://registry.npmjs.org/@types/validator/-/validator-13.12.3.tgz",
"integrity": "sha512-2ipwZ2NydGQJImne+FhNdhgRM37e9lCev99KnqkbFHd94Xn/mErARWI1RSLem1QA19ch5kOhzIZd7e8CA2FI8g==",
"license": "MIT"
},
"node_modules/@types/yargs": {
"version": "15.0.19",
"resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.19.tgz",
@@ -4033,12 +4039,14 @@
}
},
"node_modules/class-validator": {
"version": "0.6.8",
"resolved": "https://registry.npmjs.org/class-validator/-/class-validator-0.6.8.tgz",
"integrity": "sha512-+G8KRwyk3J1pp1tHoIUkeH9/7GPfQLOZxfpiGXVQo0scGeB93IBlAm6SZ4Cur6mBEqL1lEOwdenPedIE/Rj9ew==",
"version": "0.14.1",
"resolved": "https://registry.npmjs.org/class-validator/-/class-validator-0.14.1.tgz",
"integrity": "sha512-2VEG9JICxIqTpoK1eMzZqaV+u/EiwEJkMGzTrZf6sU/fwsnOITVgYJ8yojSy6CaXtO9V0Cc6ZQZ8h8m4UBuLwQ==",
"license": "MIT",
"dependencies": {
"validator": ">=5.0.0"
"@types/validator": "^13.11.8",
"libphonenumber-js": "^1.10.53",
"validator": "^13.9.0"
}
},
"node_modules/cli-cursor": {
@@ -7856,6 +7864,12 @@
"node": ">=6"
}
},
"node_modules/libphonenumber-js": {
"version": "1.12.6",
"resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.12.6.tgz",
"integrity": "sha512-PJiS4ETaUfCOFLpmtKzAbqZQjCCKVu2OhTV4SVNNE7c2nu/dACvtCqj4L0i/KWNnIgRv7yrILvBj5Lonv5Ncxw==",
"license": "MIT"
},
"node_modules/lines-and-columns": {
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
@@ -11792,9 +11806,9 @@
}
},
"node_modules/validator": {
"version": "5.7.0",
"resolved": "https://registry.npmjs.org/validator/-/validator-5.7.0.tgz",
"integrity": "sha512-kHes0AATXms5NVgbJ4aDELR91O7+X+cxAS9d6I2z49MBhcAw6DYW4UCI8qv9NkL4+Mgx8jklt7gkCht+UHaZ+g==",
"version": "13.15.0",
"resolved": "https://registry.npmjs.org/validator/-/validator-13.15.0.tgz",
"integrity": "sha512-36B2ryl4+oL5QxZ3AzD0t5SsMNGvTtQHpjgFO5tbNxfXbMFkY822ktCDe1MnlqV3301QQI9SLHDNJokDI+Z9pA==",
"license": "MIT",
"engines": {
"node": ">= 0.10"