Commit Graph

6 Commits

Author SHA1 Message Date
Michael Muré
684c21c7a4 delegation: tune the validation step
- avoid a double parsing when the flow already parsed (command, policy)
- don't require a did:key, as other types are legal (but might require a resolver, TODO)
- make the command a struct instead of a pointer: we don't need to avoid copy, and the pointer can be interpreted as nil
- make the nonce parameter optional, but generate one if none is given
2024-09-19 11:16:33 +02:00
Michael Muré
6a17270545 fix import paths 2024-09-05 18:49:01 +02:00
Michael Muré
8bf7fa173c command: simplify errors 2024-09-05 16:25:22 +02:00
Michael Muré
4b24eef195 make the go module a v1 2024-08-30 23:11:51 +02:00
Michael Muré
69d2e0a530 command: small fixes 2024-08-30 22:50:23 +02:00
Michael Muré
8ddcce3c58 Add 'capability/command/' from commit 'f37a43ac38af8c3710fee4e6a923070f6af4f74c'
git-subtree-dir: capability/command
git-subtree-mainline: c2cc0ca0a4
git-subtree-split: f37a43ac38
2024-08-30 22:36:49 +02:00