Module biscuit_auth::parser
source ·
[−]Expand description
Datalog text format parsing
all of the parsers are usable with TryFrom so they can be used
as follows:
use std::convert::TryInto;
use biscuit_auth::builder::Fact;
let f: Fact = "test(#data)".try_into().expect("parse error");All of the methods in BiscuitBuilder and BlockBuilder can take strings as arguments too
Structs
Enums
Functions
parse an allow rule
parse a Datalog check
parse a Datalog check body
parse a deny rule
parse a Datalog fact
parse an allow or deny rule
parse a Datalog rule
parse a Datalog rule body
