pub struct MaterialDigest(/* private fields */);Expand description
Digest of ALL the credential material stored in one slot (access AND refresh token), under its own domain tag (not the seat identity’s): any change of the stored login changes it, a re-login as well as a refresh by another process. The broker keeps a refused refresh only while this stays the same. Secret-derived: no Debug or Display, never logged or shown.
Implementations§
Source§impl MaterialDigest
impl MaterialDigest
pub fn of(provider: OAuthProviderId, creds: &OAuthCredentials) -> Self
Trait Implementations§
Source§impl Clone for MaterialDigest
impl Clone for MaterialDigest
impl Eq for MaterialDigest
Source§impl PartialEq for MaterialDigest
impl PartialEq for MaterialDigest
impl StructuralPartialEq for MaterialDigest
Auto Trait Implementations§
impl Freeze for MaterialDigest
impl RefUnwindSafe for MaterialDigest
impl Send for MaterialDigest
impl Sync for MaterialDigest
impl Unpin for MaterialDigest
impl UnsafeUnpin for MaterialDigest
impl UnwindSafe for MaterialDigest
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.