![]() |
![]() |
![]() |
fprintd Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Implemented Interfaces | Properties | Signals |
net.reactivated.Fprint.Devicenet.reactivated.Fprint.Device — Device interface |
ListEnrolledFingers(in's'username, out'as'enrolled_fingers) DeleteEnrolledFingers(in's'username) Claim(in's'username) Release() VerifyStart(in's'finger_name) VerifyStop() EnrollStart(in's'finger_name) EnrollStop()
VerifyFingerSelected('s'finger_name) VerifyStatus('s'result, 'b'done) EnrollStatus('s'result, 'b'done)
Objects implementing net.reactivated.Fprint.Device also implements org.freedesktop.DBus.Introspectable, org.freedesktop.DBus.Properties
fprintd uses PolicyKit to check whether users are allowed to access fingerprint data, or the fingerprint readers itself.
When a username argument is used for a method, a PolicyKit check is done on the
net.reactivated.fprint.device.setusername
PolicyKit
action to see whether the user the client is running as is allowed to access data from other users.
By default, only root is allowed to access fingerprint data for users other than itself. For a normal user, it is recommended that you use an empty string for the username, which will mean "the client the user is running as".
When a finger name argument is used for a method, it refers to either a single finger, or "any" finger. See the list of possible values below:
Device.VerifyStart
(select the first finger with a fingerprint associated, or all the fingerprints available for the user when
the device supports it) and Device::VerifyFingerSelected
(any finger with an associated fingerprint can be used).
Device.VerifyStop
should now be called.
Device.VerifyStop
should now be called.
Device.VerifyStop
should now be called.
Device.EnrollStop
should now be called.
Device.EnrollStop
should now be called.
Device.EnrollStop
should now be called.
List all the enrolled fingerprints for the chosen user.
|
The username for whom to list the enrolled fingerprints. See Usernames. |
|
An array of strings representing the enrolled fingerprints. See Fingerprint names. |
|
if the caller lacks the appropriate PolicyKit authorization |
|
if the chosen user doesn't have any fingerprints enrolled |
Delete all the enrolled fingerprints for the chosen user.
|
The username for whom to delete the enrolled fingerprints. See Usernames. |
|
if the caller lacks the appropriate PolicyKit authorization |
Claim the device for the chosen user.
|
The username for whom to claim the device. See Usernames. |
|
if the caller lacks the appropriate PolicyKit authorization |
|
if the device is already claimed |
|
if the device couldn't be claimed |
Release a device claimed with Device.Claim
.
|
if the caller lacks the appropriate PolicyKit authorization |
|
if the device was not claimed |
Check the chosen finger against a saved fingerprint. You need to have claimed the device using
Device.Claim
. The finger selected is sent to the front-end
using Device::VerifyFingerSelected
and
verification status through Device::VerifyStatus
.
|
A string representing the finger to verify. See Fingerprint names. |
|
if the caller lacks the appropriate PolicyKit authorization |
|
if the device was not claimed |
|
if the device was already being used |
|
if there are no enrolled prints for the chosen user |
|
if there was an internal error |
Stop an on-going fingerprint verification started with Device.VerifyStart
.
|
if the caller lacks the appropriate PolicyKit authorization |
|
if the device was not claimed |
|
if there was no ongoing verification |
|
if there was an internal error |
Start enrollemnt for the selected finger. You need to have claimed the device using
Device.Claim
before calling
this method. Enrollment status is sent through Device::EnrollStatus
.
|
A string representing the finger to enroll. See Fingerprint names. Note that "any" is not a valid finger name for this method. |
|
if the caller lacks the appropriate PolicyKit authorization |
|
if the device was not claimed |
|
if the device was already being used |
|
if there are no enrolled prints for the chosen user |
|
if there was an internal error |
Stop an on-going fingerprint enrollment started with Device.EnrollStart
.
|
if the caller lacks the appropriate PolicyKit authorization |
|
if the device was not claimed |
|
if there was no ongoing verification |
|
if there was an internal error |
|
A string representing the finger select to be verified. |
See also: Fingerprint names.
|
A string representing the status of the verification. |
|
Whether the verification finished and can be stopped. |
See also:
Verify Statuses and Device.VerifyStop
.
|
A string representing the status of the enrollment. |
|
Whether the enrollment finished and can be stopped. |
See also:
Enrollment Statuses and Device.EnrollStop
.
The product name of the device.
The number of enrollment stages for the device. This is only available when the device has been claimed, otherwise it will be undefined (-1).
See also:
Device.Claim
and Device.EnrollStart
.
The scan type of the device, either "press" if you place your finger on the device, or "swipe" if you have to swipe your finger.