pub enum OidcError {
Invalid(String),
Untrusted(String),
Unavailable(String),
}Expand description
Why a token was not accepted.
Variants§
Invalid(String)
The token is malformed, unsigned by the issuer, expired, or meant for another audience.
Untrusted(String)
The token is genuine, but its repository owner is not trusted.
The issuer’s keys could not be fetched.
Trait Implementations§
impl Eq for OidcError
impl StructuralPartialEq for OidcError
Auto Trait Implementations§
impl Freeze for OidcError
impl RefUnwindSafe for OidcError
impl Send for OidcError
impl Sync for OidcError
impl Unpin for OidcError
impl UnsafeUnpin for OidcError
impl UnwindSafe for OidcError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.