Re-exports§
pub use crate::authorization_expression::AuthorizationExpression;
Modules§
Structs§
- Access
Evaluator - Authorizations
- Lexer
Lexeris a lexical analyzer (tokenizer) for authorization expressions.- Parser
Parseris used to parse an expression and return anAuthorizationExpression-based tree.
Enums§
- Json
Error - Parser
Error ParserErroris returned when the parser encounters an error.
Functions§
- check_
authorization - Checks if the given set of access tokens authorizes access to the resource which protection is described by the given expression.
- check_
authorization_ csv - Checks if the given set of access tokens authorizes access to the resource which protection is described by the given expression.
- expression_
to_ json - expression_
to_ json_ string - prepare_
authorization_ csv