gnome-shell/js/gdm
Ray Strode 148f2210ca util: abstract out default auth service in code
Right now, the primary way a user logs in is with
a password. They can also swipe their finger, if their
fingerprint is enrolled, but it's expected the fingerprint
auth service won't ask questions the user has to respond to
by typing. As such, we ignore questions that comes from
anything but the main auth service: gdm-password.

In the future, if a user inserts a smartcard, we'll want
to treat the gdm-smartcard service as the main auth service,
and let any questions from it get to the user.

This commit tries to prepare for that eventuality by storing
the name of the default auth service away in a _defaultService variable
before verification has begun, and then later checking incoming
queries against that service instead of checking against
string 'gdm-password' directly.

Of course, right now, _defaultService is always gdm-password.

https://bugzilla.gnome.org/show_bug.cgi?id=683437
2013-08-18 21:14:35 -04:00
..
authPrompt.js authPrompt: add support for auth without username 2013-08-18 21:14:35 -04:00
batch.js Port all classes with inheritance to class framework 2011-11-24 09:50:04 +01:00
fingerprint.js fingerprint: autostart fprintd when necessary 2012-09-14 12:12:46 -04:00
loginDialog.js authPrompt: add support for auth without username 2013-08-18 21:14:35 -04:00
realmd.js gdm: Fix regression where domain login hint not shown 2013-05-03 21:59:57 +02:00
util.js util: abstract out default auth service in code 2013-08-18 21:14:35 -04:00