This commit is contained in:
Roland Gruber 2018-12-26 09:39:51 +01:00
parent 727390064f
commit 2ce96573c0
1 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,7 @@ use \LAMConfig;
/* /*
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
Copyright (C) 2017 Roland Gruber Copyright (C) 2017 - 2018 Roland Gruber
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
@ -36,6 +36,7 @@ interface TwoFactorProvider {
* *
* @param string $user user name * @param string $user user name
* @param string $password password * @param string $password password
* @return string[] serials
* @throws \Exception error getting serials * @throws \Exception error getting serials
*/ */
public function getSerials($user, $password); public function getSerials($user, $password);
@ -151,6 +152,7 @@ class PrivacyIDEAProvider implements TwoFactorProvider {
* *
* @param string $user user name * @param string $user user name
* @param string $token login token * @param string $token login token
* @return string[] serials
* @throws \Exception error during serial reading * @throws \Exception error during serial reading
*/ */
private function getSerialsForUser($user, $token) { private function getSerialsForUser($user, $token) {