biscuit-auth / biscuit

delegated, decentralized, capabilities based authorization token
Apache License 2.0
961 stars 25 forks source link

Commonalities and expectations for cross-language use #151

Open divarvel opened 1 year ago

divarvel commented 1 year ago

Right now the spec provides (rather) precise definitions for the token format, the evaluation model and datalog parsing.

What is not specified however is the general API of libraries. Most libraries have the same behaviour, but there can be subtle details that vary from implementation to implementation.

For instance:

I think the spec should not mandate too much wrt APIs because each language has different ways to express things, but i think there should be some common guarantees provided by specific operations.