Commit e65a42a
committed
session: add a new session v2 token
Session Token v2 solves the delegation, power of attorney, and chain-of-trust
problems. It enables:
- Account-based authority (direct or NNS-based indirect)
- Multi-account subjects (multiple entities can use same token)
- Multi-verb operations (GET, PUT, DELETE in single token)
- Delegation chains (verifiable like X.509 certificates)
- Indirect accounts (NeoFS Name Service resolution)
Refs #241.
Signed-off-by: Andrey Butusov <[email protected]>1 parent a2298a0 commit e65a42a
2 files changed
+30
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
| 79 | + | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | 94 | | |
101 | 95 | | |
102 | 96 | | |
| |||
112 | 106 | | |
113 | 107 | | |
114 | 108 | | |
115 | | - | |
116 | | - | |
| 109 | + | |
| 110 | + | |
117 | 111 | | |
118 | 112 | | |
119 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| 242 | + | |
242 | 243 | | |
243 | 244 | | |
244 | 245 | | |
| |||
271 | 272 | | |
272 | 273 | | |
273 | 274 | | |
| 275 | + | |
274 | 276 | | |
| 277 | + | |
275 | 278 | | |
| 279 | + | |
| 280 | + | |
276 | 281 | | |
| 282 | + | |
| 283 | + | |
277 | 284 | | |
| 285 | + | |
| 286 | + | |
278 | 287 | | |
| 288 | + | |
| 289 | + | |
279 | 290 | | |
| 291 | + | |
| 292 | + | |
280 | 293 | | |
| 294 | + | |
| 295 | + | |
281 | 296 | | |
| 297 | + | |
| 298 | + | |
282 | 299 | | |
283 | 300 | | |
284 | 301 | | |
| |||
302 | 319 | | |
303 | 320 | | |
304 | 321 | | |
| 322 | + | |
305 | 323 | | |
| 324 | + | |
306 | 325 | | |
| 326 | + | |
| 327 | + | |
307 | 328 | | |
| 329 | + | |
| 330 | + | |
308 | 331 | | |
| 332 | + | |
| 333 | + | |
309 | 334 | | |
310 | 335 | | |
311 | 336 | | |
| |||
0 commit comments