pub enum SecretDomain {
Code,
Session,
FormToken,
FlowTicket,
}Expand description
The role a secret plays. Part of the HMAC message, so it cross-namespaces lookup keys (RFC-004 §12.1).
Variants§
Code
One-time code lookup.
Session
Session secret lookup.
FormToken
Form-token lookup.
FlowTicket
Pre-auth flow / join-ticket lookup.
Implementations§
Trait Implementations§
Source§impl Clone for SecretDomain
impl Clone for SecretDomain
impl Copy for SecretDomain
Source§impl Debug for SecretDomain
impl Debug for SecretDomain
impl Eq for SecretDomain
Source§impl Hash for SecretDomain
impl Hash for SecretDomain
Source§impl PartialEq for SecretDomain
impl PartialEq for SecretDomain
impl StructuralPartialEq for SecretDomain
Auto Trait Implementations§
impl Forget for SecretDomain
impl Freeze for SecretDomain
impl RefUnwindSafe for SecretDomain
impl Send for SecretDomain
impl Sync for SecretDomain
impl Unpin for SecretDomain
impl UnsafeUnpin for SecretDomain
impl UnwindSafe for SecretDomain
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