Struct compact_jwt::jwt::JwtUnverified
source · pub struct JwtUnverified<V> { /* private fields */ }
Expand description
An unverified jwt input which is ready to validate
Implementations§
source§impl<V> JwtUnverified<V>where
V: Clone + DeserializeOwned,
impl<V> JwtUnverified<V>where
V: Clone + DeserializeOwned,
sourcepub fn get_jwk_pubkey(&self) -> Option<&Jwk>
pub fn get_jwk_pubkey(&self) -> Option<&Jwk>
Get the embedded public key used to sign this jwt, if present.
Trait Implementations§
source§impl<V> FromStr for JwtUnverified<V>
impl<V> FromStr for JwtUnverified<V>
source§impl<V> JwsVerifiable for JwtUnverified<V>where
V: Clone + DeserializeOwned,
impl<V> JwsVerifiable for JwtUnverified<V>where
V: Clone + DeserializeOwned,
source§fn data(&self) -> JwsCompactVerifyData<'_>
fn data(&self) -> JwsCompactVerifyData<'_>
Retrieve the inner data from the JwsCompact that is to be verified
Auto Trait Implementations§
impl<V> Freeze for JwtUnverified<V>
impl<V> RefUnwindSafe for JwtUnverified<V>where
V: RefUnwindSafe,
impl<V> Send for JwtUnverified<V>where
V: Send,
impl<V> Sync for JwtUnverified<V>where
V: Sync,
impl<V> Unpin for JwtUnverified<V>where
V: Unpin,
impl<V> UnwindSafe for JwtUnverified<V>where
V: UnwindSafe,
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