Lines Matching refs:user
46 * Initializes the provider for the given user
47 * @param string $user Current user
49 public function init($user)
51 $this->settings = new Settings($this->getProviderID(), $user);
57 * The user data for the current user
58 * @return array (user=>'login', name=>'full name', mail=>'user@example.com', grps=>['group1', 'group2',...])
64 $user = $this->settings->getUser();
65 $userdata = $auth->getUserData($user);
66 if (!$userdata) throw new \RuntimeException('2fa: Failed to get user details from auth backend');
67 $userdata['user'] = $user;
107 * Has this provider been fully configured and verified by the user and thus can be used
181 * @param bool $usermessage should a message about the failed code be shown to the user?
212 * Transmits the code to the user
218 * @return string Informational message for the user