Struct cedar_policy::Authorizer
source · #[repr(transparent)]pub struct Authorizer(_);
Expand description
Authorizer object, which provides responses to authorization queries
Implementations§
source§impl Authorizer
impl Authorizer
Returns an authorization response for r
with respect to the given
PolicySet
and Entities
.
The language spec and Dafny model give a precise definition of how this is computed.
A partially evaluated authorization request. The Authorizer will attempt to make as much progress as possible in the presence of unknowns. If the Authorizer can reach a response, it will return that response. Otherwise, it will return a list of residual policies that still need to be evaluated.
Trait Implementations§
source§impl Debug for Authorizer
impl Debug for Authorizer
source§impl Default for Authorizer
impl Default for Authorizer
Auto Trait Implementations§
impl !RefUnwindSafe for Authorizer
impl Send for Authorizer
impl Sync for Authorizer
impl Unpin for Authorizer
impl !UnwindSafe for Authorizer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more