pub enum SecretStorage {
Auto,
Hashed,
Encrypted,
}Expand description
Storage strategy for OAuth provider secrets and tokens.
Variants§
Auto
Choose the upstream default from the JWT plugin setting.
Hashed
Store only a hash of the value.
Encrypted
Store an encrypted value.
Trait Implementations§
Source§impl Clone for SecretStorage
impl Clone for SecretStorage
Source§fn clone(&self) -> SecretStorage
fn clone(&self) -> SecretStorage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SecretStorage
Source§impl Debug for SecretStorage
impl Debug for SecretStorage
impl Eq for SecretStorage
Source§impl PartialEq for SecretStorage
impl PartialEq for SecretStorage
Source§fn eq(&self, other: &SecretStorage) -> bool
fn eq(&self, other: &SecretStorage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SecretStorage
Auto Trait Implementations§
impl Freeze for SecretStorage
impl RefUnwindSafe for SecretStorage
impl Send for SecretStorage
impl Sync for SecretStorage
impl Unpin for SecretStorage
impl UnsafeUnpin for SecretStorage
impl UnwindSafe for SecretStorage
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.