Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 785 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 785 Bytes

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