pub struct PctfValidator;Expand description
Validates credential operations against PCTF policy.
Implementations§
Source§impl PctfValidator
impl PctfValidator
Sourcepub fn validate_presentation(
policy: &PctfPolicy,
context: &PresentationContext,
consent_manager: Option<&ConsentManager>,
) -> PolicyResult
pub fn validate_presentation( policy: &PctfPolicy, context: &PresentationContext, consent_manager: Option<&ConsentManager>, ) -> PolicyResult
Validate a presentation context against a PCTF policy.
Auto Trait Implementations§
impl Freeze for PctfValidator
impl RefUnwindSafe for PctfValidator
impl Send for PctfValidator
impl Sync for PctfValidator
impl Unpin for PctfValidator
impl UnwindSafe for PctfValidator
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