pub fn new() -> Result<Self, error::Logic> {
        let world = datalog::World::new();
        let symbols = super::default_symbol_table();

        Ok(Authorizer {
            world,
            symbols,
            checks: vec![],
            token_checks: vec![],
            policies: vec![],
            token: None,
        })
    }
/// creates a new empty authorizer
///
/// this can be used to check policies when:
/// * there is no token (unauthenticated case)
/// * there is a lot of data to load in the authorizer on each check
///
/// In the latter case, we can create an empty authorizer, load it
/// with the facts, rules and checks, and each time a token must be checked,
/// clone the authorizer and load the token with [`Authorizer::add_token`]
creates a new empty authorizer
this can be used to check policies when:
there is no token (unauthenticated case)
there is a lot of data to load in the authorizer on each check

In the latter case, we can create an empty authorizer, load it
with the facts, rules and checks, and each time a token must be checked,
clone the authorizer and load the token with [`Authorizer::add_token`]
creates a new empty authorizer this can be used to check policies when : there is no token ( unauthenticated case ) there is a lot of data to load in the authorizer on each check In the latter case we can create an empty authorizer load it with the facts rules and checks and each time a token must be checked clone the authorizer and load the token with [ ` Authorizer :: add_token ` ]
pub fn new() -> Result<Self, error::Logic> {
        let world = datalog::World::new();
        let symbols = super::default_symbol_table();
        Ok(Authorizer {
            world,
            symbols,
            checks: vec![],
            token_checks: vec![],
            policies: vec![],
            token: None,
        })
    }
pub fn new ( ) -> Result < Self , error :: Logic > { let world = datalog :: World :: new ( ) ; let symbols = super :: default_symbol_table ( ) ; Ok ( Authorizer { world , symbols , checks : vec ! [ ] , token_checks : vec ! [ ] , policies : vec ! [ ] , token : None , } ) }
creates a new empty authorizer
this can be used to check policies when:
 there is no token (unauthenticated case)
 there is a lot of data to load in the authorizer on each check
creates a new empty authorizer this can be used to check policies when : there is no token ( unauthenticated case ) there is a lot of data to load in the authorizer on each check