2cbd533426
The interface has changed a little instead of allowing the client to parse out the authorization header, it takes the request object as is to extract the identity from it how the implementation decides. IdentityClient#authenticate is now deprecated, in favor of IdentityApi#getIdentity. I am leaving the IdentityClient in place deprecated so that plugins that use this can migrate away from it. Signed-off-by: Brian Fletcher <brian@roadie.io>
44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
|
"name": "@backstage/plugin-auth-node",
|
|
"version": "0.2.3-next.1",
|
|
"main": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"license": "Apache-2.0",
|
|
"private": false,
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"main": "dist/index.cjs.js",
|
|
"types": "dist/index.d.ts"
|
|
},
|
|
"backstage": {
|
|
"role": "node-library"
|
|
},
|
|
"scripts": {
|
|
"build": "backstage-cli package build",
|
|
"lint": "backstage-cli package lint",
|
|
"test": "backstage-cli package test",
|
|
"prepack": "backstage-cli package prepack",
|
|
"postpack": "backstage-cli package postpack",
|
|
"clean": "backstage-cli package clean",
|
|
"start": "backstage-cli package start"
|
|
},
|
|
"dependencies": {
|
|
"@backstage/backend-common": "^0.14.1-next.1",
|
|
"@backstage/config": "^1.0.1",
|
|
"@backstage/errors": "^1.1.0-next.0",
|
|
"express": "^4.18.1",
|
|
"jose": "^4.6.0",
|
|
"node-fetch": "^2.6.7",
|
|
"winston": "^3.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@backstage/cli": "^0.18.0-next.1",
|
|
"lodash": "^4.17.21",
|
|
"msw": "^0.43.0",
|
|
"uuid": "^8.0.0"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
]
|
|
}
|