corks_cedar 0.1.1 corks_cedar: ^0.1.1 copied to clipboard
An embedded authorization token format, based off Google's macaroons.
Corks #
Corks are authorization tokens which are based off Google's Macaroons paper. They are bearer tokens which identify the entity possessing them, while providing a mechanism for embedding further restrictions via Cedar policy caveats.
Development #
Corks use Protobuf for serialization and deserialization of bearers and caveats. The proto definitions are located in the proto directory and the Buf toolchain is used to generate Dart code from the Protobuf files.
To generate the Dart code, install Buf then run the following command from the proto/
directory:
$ buf generate