pub enum AuthCredHandler {
Password,
DeviceAuthorizationGrant,
MFA {
data: Vec<String>,
},
SetupPin,
Pin,
}
Variants§
Password
DeviceAuthorizationGrant
MFA
Additional data required by the provider to complete the authentication, but not required by PAM
Sadly due to how this is passed around we can’t make this a generic associated type, else it would have to leak up to the daemon.
⚠️ TODO: Optimally this should actually be a tokio oneshot receiver with the decision from a task that is spawned.
SetupPin
Pin
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuthCredHandler
impl RefUnwindSafe for AuthCredHandler
impl Send for AuthCredHandler
impl Sync for AuthCredHandler
impl Unpin for AuthCredHandler
impl UnwindSafe for AuthCredHandler
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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