pub struct PilotProfileCredentialVerifier<'a, G, C> { /* private fields */ }Implementations§
Source§impl<'a, G, C> PilotProfileCredentialVerifier<'a, G, C>where
G: GovernanceLookup,
C: Clock,
impl<'a, G, C> PilotProfileCredentialVerifier<'a, G, C>where
G: GovernanceLookup,
C: Clock,
pub fn new(governance: &'a G, clock: &'a C) -> Self
pub fn with_did_web_resolver(self, resolver: &'a dyn DidWebResolver) -> Self
pub fn with_expected_audience(self, expected_audience: &'a str) -> Self
pub fn verify(&self, compact_jwt: &str) -> PilotProfileCredentialVerification
Auto Trait Implementations§
impl<'a, G, C> Freeze for PilotProfileCredentialVerifier<'a, G, C>
impl<'a, G, C> !RefUnwindSafe for PilotProfileCredentialVerifier<'a, G, C>
impl<'a, G, C> !Send for PilotProfileCredentialVerifier<'a, G, C>
impl<'a, G, C> !Sync for PilotProfileCredentialVerifier<'a, G, C>
impl<'a, G, C> Unpin for PilotProfileCredentialVerifier<'a, G, C>
impl<'a, G, C> UnsafeUnpin for PilotProfileCredentialVerifier<'a, G, C>
impl<'a, G, C> !UnwindSafe for PilotProfileCredentialVerifier<'a, G, C>
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