[−][src]Struct orizentic::UnverifiedToken
An UnverifiedToken is a combination of the JWT serialization and the decoded ClaimSet
. As this
is unverified, this should only be used for information purposes, such as determining what a
user can do with a token even when the decoding key is absent.
Fields
text: String
claims: ClaimSet
Methods
impl UnverifiedToken
[src]
pub fn decode_text(text: &String) -> Result<UnverifiedToken, Error>
[src]
Decode a JWT text string without verification
Trait Implementations
Auto Trait Implementations
impl Unpin for UnverifiedToken
impl Sync for UnverifiedToken
impl Send for UnverifiedToken
impl RefUnwindSafe for UnverifiedToken
impl UnwindSafe for UnverifiedToken
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,