verify_finger_process

Function verify_finger_process 

Source
pub async fn verify_finger_process<S>(
    connection: &Connection,
    path: OwnedObjectPath,
    finger: String,
    username: String,
    output: &mut S,
) -> Result<()>
where S: Sink<Message> + Unpin + Send, S::Error: Debug + Send,
Expand description

Request via DBus for the users fingerprint to be verified.

ยงErrors

net.reactivated.Fprint.Error.PermissionDenied: if the caller lacks the appropriate PolicyKit authorization net.reactivated.Fprint.Error.ClaimDevice: if the device was not claimed net.reactivated.Fprint.Error.AlreadyInUse: if the device was already being used net.reactivated.Fprint.Error.NoActionInProgress: if there was no ongoing verification net.reactivated.Fprint.Error.NoEnrolledPrints: if there are no enrolled prints for the chosen user net.reactivated.Fprint.Error.Internal: if there was an internal error