require_all

Function require_all 

Source
pub async fn require_all(rules: Vec<AuthRuleFn>) -> Result<(), Error>
Expand description

Require that all provided rules pass for the current caller.

Returns the first failing rule error, or AuthError::NoRulesDefined if rules is empty.