Michael Muré
|
17a1d54b6f
|
Merge pull request #57 from ucan-wg/simplify-args
args: simplify API + code
|
2024-11-12 15:08:14 +01:00 |
|
Michael Muré
|
c4a53f42b6
|
args,meta: harmonize supported types, with fast paths
|
2024-11-12 13:09:07 +01:00 |
|
Michael Muré
|
522181b16a
|
args: simplify API + code
|
2024-11-12 12:14:58 +01:00 |
|
Michael Muré
|
633b3d210a
|
token: move nonce generation to a shared space
|
2024-11-12 10:38:25 +01:00 |
|
Steve Moyer
|
3c705ca150
|
Merge pull request #49 from ucan-wg/feat/complete-invocation-stub
feat: complete invocation stub
|
2024-11-07 13:51:47 -05:00 |
|
Steve Moyer
|
1fa2b5e6fc
|
feat(invocation): use dedicated type for invocation.Token.Arguments
|
2024-11-07 13:50:20 -05:00 |
|
Steve Moyer
|
11bc085c60
|
test(policy): update to handel statement returned from Match
|
2024-11-07 13:17:22 -05:00 |
|
Steve Moyer
|
a4a8634eb8
|
Merge branch 'v1' into feat/complete-invocation-stub
|
2024-11-07 13:14:03 -05:00 |
|
Steve Moyer
|
d353dfe652
|
feat(args): create a specialized type to manage invocation Arguments
|
2024-11-07 12:58:53 -05:00 |
|
Michael Muré
|
1e5ecdc205
|
Merge pull request #56 from ucan-wg/match-return
policy: make Match also return the failing statement
|
2024-11-07 15:40:57 +01:00 |
|
Michael Muré
|
f9065d39d8
|
policy: make Match also return the failing statement
It's a powerful capability, so let's expose it.
I also found a bug in the process.
|
2024-11-07 15:33:21 +01:00 |
|
Michael Muré
|
cddade4670
|
Merge pull request #55 from ucan-wg/flacky-test
literal: fix flacky test
|
2024-11-07 12:07:43 +01:00 |
|
Michael Muré
|
948087744d
|
literal: fix flacky test
also: make tests less noisy everywhere
|
2024-11-07 12:01:29 +01:00 |
|
Steve Moyer
|
bfb93d6988
|
Merge branch 'feat/complete-invocation-stub' of github.com:ucan-wg/go-ucan into feat/complete-invocation-stub
|
2024-11-06 12:57:13 -05:00 |
|
Michael Muré
|
cfcb199818
|
meta: prevent overwrite of values
|
2024-11-06 12:57:04 -05:00 |
|
Steve Moyer
|
85557ab6b5
|
test(policy): refactor matching test from delegation spec
|
2024-11-06 12:57:01 -05:00 |
|
Steve Moyer
|
adc2b8d0da
|
test(policy): adds example test case from invocation specification
|
2024-11-06 12:55:49 -05:00 |
|
Michael Muré
|
bcdaf0cca3
|
invocation: round of cleanups/fixes
|
2024-11-06 12:55:45 -05:00 |
|
Steve Moyer
|
d754c5837b
|
test(invocation): adds schema round-trip test
|
2024-11-06 12:51:24 -05:00 |
|
Steve Moyer
|
d89fb395e3
|
feat(invocation): ipld unseal to invocation
|
2024-11-06 12:48:41 -05:00 |
|
Steve Moyer
|
4932e32052
|
feat(invocation): produce example output similar to spec
|
2024-11-06 12:44:48 -05:00 |
|
Steve Moyer
|
a52b48cf47
|
feat(invocation): provide New constructor and encoding to wire-format
|
2024-11-06 12:41:36 -05:00 |
|
Steve Moyer
|
e6e4d85381
|
Merge branch 'feat/complete-invocation-stub' of github.com:ucan-wg/go-ucan into feat/complete-invocation-stub
|
2024-11-06 12:22:19 -05:00 |
|
Steve Moyer
|
962e897ff5
|
Otest(policy): refactor matching test from delegation spec
|
2024-11-06 12:18:15 -05:00 |
|
Steve Moyer
|
58bb5cdb8f
|
test(policy): adds example test case from invocation specification
|
2024-11-06 12:16:49 -05:00 |
|
Steve Moyer
|
ce7f653ab0
|
chore(invocation): clean up left-over (and unneeded) conversion of prf
|
2024-11-06 12:16:49 -05:00 |
|
Michael Muré
|
7d4f973171
|
invocation: round of cleanups/fixes
|
2024-11-06 12:16:48 -05:00 |
|
Steve Moyer
|
3dc0011628
|
docs(invocation): edit (and finish) Go docs for exported types
|
2024-11-06 12:16:47 -05:00 |
|
Steve Moyer
|
08f821f23d
|
test(invocation): adds schema round-trip test
|
2024-11-06 12:16:46 -05:00 |
|
Steve Moyer
|
1b61f2e4db
|
docs(invocation): fix truncated WithEmptyNonce description
|
2024-11-06 12:16:45 -05:00 |
|
Steve Moyer
|
187e7a869c
|
feat(invocation): ipld unseal to invocation
|
2024-11-06 12:16:44 -05:00 |
|
Steve Moyer
|
a98653b769
|
feat(invocation): produce example output similar to spec
|
2024-11-06 12:16:43 -05:00 |
|
Steve Moyer
|
31d16ac468
|
feat(invocation): provide New constructor and encoding to wire-format
|
2024-11-06 12:16:42 -05:00 |
|
Michael Muré
|
d2b004c405
|
meta: prevent overwrite of values
|
2024-11-06 18:06:46 +01:00 |
|
Michael Muré
|
884d63a689
|
Merge pull request #53 from ucan-wg/test-literal
literal: add test suite
|
2024-11-06 16:45:19 +01:00 |
|
Michael Muré
|
c9f3a6033a
|
delegation: minor fix around meta
|
2024-11-06 16:43:57 +01:00 |
|
Michael Muré
|
8447499c5a
|
literal: add test suite
|
2024-11-06 16:42:45 +01:00 |
|
Steve Moyer
|
b4e222f8a0
|
test(policy): refactor matching test from delegation spec
|
2024-11-06 10:17:18 -05:00 |
|
Michael Muré
|
41b8600fbc
|
Merge pull request #52 from ucan-wg/meta-readonly
meta: make a read-only version to enforce token immutability
|
2024-11-06 15:28:19 +01:00 |
|
Steve Moyer
|
824c8fe523
|
test(policy): adds example test case from invocation specification
|
2024-11-06 09:25:51 -05:00 |
|
Michael Muré
|
6aeb6a8b70
|
meta: make a read-only version to enforce token immutability
|
2024-11-06 15:17:35 +01:00 |
|
Steve Moyer
|
a1aaf47d7c
|
chore(invocation): clean up left-over (and unneeded) conversion of prf
|
2024-11-05 15:28:31 -05:00 |
|
Michael Muré
|
728696f169
|
invocation: round of cleanups/fixes
|
2024-11-05 17:39:39 +01:00 |
|
Michael Muré
|
cfb4446a05
|
Merge pull request #48 from ucan-wg/pol-partial
policy: implement partial matching, to evaluate in multiple steps with fail early
|
2024-11-05 16:31:52 +01:00 |
|
Michael Muré
|
06a72868a5
|
container: add a delegation iterator
|
2024-11-05 16:26:53 +01:00 |
|
Michael Muré
|
6f9a6fa5c1
|
literal: make Map and List generic, to avoid requiring conversions
|
2024-11-05 16:26:14 +01:00 |
|
Steve Moyer
|
f2b4c3ac20
|
docs(invocation): edit (and finish) Go docs for exported types
|
2024-11-05 09:35:55 -05:00 |
|
Steve Moyer
|
7a7db684c3
|
test(invocation): adds schema round-trip test
|
2024-11-05 08:39:43 -05:00 |
|
Steve Moyer
|
d7454156d2
|
docs(invocation): fix truncated WithEmptyNonce description
|
2024-11-05 07:39:51 -05:00 |
|
Steve Moyer
|
d3ad6715d9
|
feat(invocation): ipld unseal to invocation
|
2024-11-04 16:07:11 -05:00 |
|