pub enum AuthMode {
Ed25519,
Password,
Auto,
}Expand description
Represents mode to perform token retrieval with, specifically the authentication method.
The modes enumerated are to be passed onto agent methods that retrieve tokens, as arguments.
Variants§
Ed25519
Instruction to use Ed25519 key signatures to authenticate.
Password
Instruction to use password to authenticate.
Auto
Instruction to automatically select mode, by the following order.
- Ed25519
- Password
If a mode is not available, the next mode will be used.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuthMode
impl RefUnwindSafe for AuthMode
impl Send for AuthMode
impl Sync for AuthMode
impl Unpin for AuthMode
impl UnwindSafe for AuthMode
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