pub enum AuthKind {
UserPassword,
PrivateKeyPassphrase,
HostKeyVerification,
}Expand description
Credential or trust decision requested by a provider.
§Examples
use ailloli_ui_fs::AuthKind;
assert_ne!(AuthKind::UserPassword, AuthKind::HostKeyVerification);Variants§
UserPassword
Request a user name/password credential flow.
PrivateKeyPassphrase
Request the passphrase needed to unlock a private key.
HostKeyVerification
Ask the user or policy layer to accept or reject a remote host key.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AuthKind
impl<'de> Deserialize<'de> for AuthKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for AuthKind
impl Eq for AuthKind
impl StructuralPartialEq for AuthKind
Auto Trait Implementations§
impl Freeze for AuthKind
impl RefUnwindSafe for AuthKind
impl Send for AuthKind
impl Sync for AuthKind
impl Unpin for AuthKind
impl UnwindSafe for AuthKind
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