Warning
The implementation is WIP and should not be used in production
Zig implementation of https://www.biscuitsec.org/
var biscuit = try Biscuit.fromBytes(allocator, token, root_public_key);
defer biscuit.deinit();
var authorizer = try biscuit.authorizer();
defer authorizer.deinit();
var errors = std.ArrayList(AuthorizerError).init(allocator);
defer errors.deinit();
try authorizer.authorize(&errors);
var biscuit = try Biscuit.fromBytes(allocator, token, root_public_key);
defer biscuit.deinit();
var authorizer = try biscuit.authorizer();
defer authorizer.deinit();
var errors = std.ArrayList(AuthorizerError).init(allocator);
defer errors.deinit();
try authorizer.authorize(&errors);