koas-security
Version:
Koas security checks if a request matches the security requirement of an operation. For example, given the following partial OpenAPI document:
47 lines (46 loc) • 940 B
JSON
{
"name": "koas-security",
"version": "0.7.0",
"keywords": [
"basic-auth",
"koa",
"koas",
"oai",
"oauth2",
"openapi",
"security"
],
"homepage": "https://gitlab.com/remcohaszing/koas/tree/master/packages/koas-security",
"bugs": {
"url": "https://gitlab.com/remcohaszing/koas/issues"
},
"repository": {
"type": "git",
"url": "https://gitlab.com/remcohaszing/koas.git",
"directory": "packages/koas-security"
},
"license": "MIT",
"author": "Remco Haszing <remcohaszing@gmail.com>",
"main": "lib",
"files": [
"lib"
],
"scripts": {
"prepack": "tsc --project tsconfig.build.json"
},
"dependencies": {
"openapi-types": "^12.0.0",
"type-fest": "^2.0.0"
},
"devDependencies": {
"axios-test-instance": "^5.0.0",
"koa": "^2.0.0"
},
"peerDependencies": {
"koa": "^2",
"koas-core": "^0.7.0"
},
"engines": {
"node": ">=14"
}
}