diff --git a/toolkit/server/Readme.md b/toolkit/server/Readme.md new file mode 100644 index 0000000..34f8d59 --- /dev/null +++ b/toolkit/server/Readme.md @@ -0,0 +1,6 @@ +# HTTP Server middleware example + +This package shows an example of an HTTP middleware with the following features: +- decoding a UCAN delegation token from the `Authorization: Bearer` HTTP Header, according to the PriorityConnect Step0 way (which is not the fully correct UCAN way) +- minimal verifications, no policies or args +- retrieval of values passed as token metadata, and insertion in the go context \ No newline at end of file