Lines Matching defs:username

283     gchar *username;
298 /* Update username */
299 username = read_string (message, message_length, offset);
300 if (strcmp (username, "") == 0)
302 g_free (username);
303 username = NULL;
306 priv->authentication_user = username;
351 gchar *username;
361 username = read_string (message, message_length, offset);
364 g_debug ("Authentication complete for user %s with return code %d", username, return_code);
366 /* Update username */
367 if (strcmp (username, "") == 0)
369 g_free (username);
370 username = NULL;
373 priv->authentication_user = username;
576 * recommended you show a method for the user to enter a username manually.
599 * should provide a way for a username to be entered manually.
680 * Return value: A username
789 * @username: (allow-none): A username or #NULL to prompt for a username.
794 lightdm_greeter_authenticate (LightDMGreeter *greeter, const gchar *username)
810 if (username != priv->authentication_user)
813 priv->authentication_user = g_strdup (username);
816 g_debug ("Starting authentication for user %s...", username);
817 write_header (message, MAX_MESSAGE_LENGTH, GREETER_MESSAGE_AUTHENTICATE, int_length () + string_length (username), &offset);
819 write_string (message, MAX_MESSAGE_LENGTH, username, &offset);
877 * @username: (allow-none): A username of #NULL to prompt for a username.
882 lightdm_greeter_authenticate_remote (LightDMGreeter *greeter, const gchar *session, const gchar *username)
901 if (username)
902 g_debug ("Starting authentication for remote session %s as user %s...", session, username);
905 write_header (message, MAX_MESSAGE_LENGTH, GREETER_MESSAGE_AUTHENTICATE_REMOTE, int_length () + string_length (session) + string_length (username), &offset);
908 write_string (message, MAX_MESSAGE_LENGTH, username, &offset);
1023 * Return value: The username of the authentication user being authenticated or #NULL if no authentication in progress.