Struct compact_jwt::oidc::OidcUnverified
source · pub struct OidcUnverified { /* private fields */ }
Expand description
An unverified token input which is ready to validate
Implementations§
source§impl OidcUnverified
impl OidcUnverified
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 FromStr for OidcUnverified
impl FromStr for OidcUnverified
source§impl JwsVerifiable for OidcUnverified
impl JwsVerifiable for OidcUnverified
§type Verified = OidcExpUnverified
type Verified = OidcExpUnverified
The type that should be emitted when the verification is complete
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 Freeze for OidcUnverified
impl RefUnwindSafe for OidcUnverified
impl Send for OidcUnverified
impl Sync for OidcUnverified
impl Unpin for OidcUnverified
impl UnwindSafe for OidcUnverified
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