gnome-shell/js
Ray Strode df0aace025 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-07-29 18:54:20 -04:00
..
extensionPrefs extensionPrefs: Fix opening extension preferences on startup 2013-02-28 15:37:29 +01:00
gdm util: abstract out default auth service in code 2013-07-29 18:54:20 -04:00
misc Hash: make .size() constant time 2013-05-12 21:06:34 +02:00
perf perf: Update to latest overlay changes 2012-08-20 20:40:01 +02:00
ui authPrompt: add support for auth without username 2013-07-29 18:52:25 -04:00
Makefile.am gdmUtil: separate AuthPrompt out into its own file 2013-07-24 06:01:03 -04:00