@passflow/node 0.1.0 → 0.1.1
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/README.md +1 -1
- package/package.json +4 -5
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ app.get('/invoices', passflow.requireACR(AAL2), (req, res) => res.json({ sub: ge
|
|
|
21
21
|
app.post('/transfers', passflow.requireFresh(300), (_req, res) => res.json({ ok: true }));
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
`audience` is the ID of a Passflow application, or a list of them. The Passflow documentation has step-by-step tutorials for Express, Fastify and Hono (`docs/tutorials/node-backend.md`) and a runnable API in `examples/resource-server
|
|
24
|
+
`audience` is the ID of a Passflow application, or a list of them. The Passflow documentation has step-by-step tutorials for Express, Fastify and Hono (`docs/tutorials/node-backend.md`) and a runnable API in [`examples/resource-server`](https://github.com/MadAppGang/passflow-go/tree/main/examples/resource-server).
|
|
25
25
|
|
|
26
26
|
## Use it with a framework
|
|
27
27
|
|
package/package.json
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@passflow/node",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Passflow authorization primitives for Node.js resource servers: token verification, ACR floors, auth_time freshness and RFC 9470 step-up challenges, with Express, Fastify and Hono adapters.",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
"directory": "sdk/node"
|
|
6
|
+
"homepage": "https://github.com/MadAppGang/passflow-go/tree/main/examples/resource-server",
|
|
7
|
+
"bugs": {
|
|
8
|
+
"email": "i@madappgang.com"
|
|
10
9
|
},
|
|
11
10
|
"type": "module",
|
|
12
11
|
"sideEffects": false,
|