From 2ce96573c05546dca390fe7d2741107069f52bdf Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Wed, 26 Dec 2018 09:39:51 +0100 Subject: [PATCH] docs --- lam/lib/2factor.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lam/lib/2factor.inc b/lam/lib/2factor.inc index 053a472c..f4907667 100644 --- a/lam/lib/2factor.inc +++ b/lam/lib/2factor.inc @@ -5,7 +5,7 @@ use \LAMConfig; /* 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 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 $password password + * @return string[] serials * @throws \Exception error getting serials */ public function getSerials($user, $password); @@ -151,6 +152,7 @@ class PrivacyIDEAProvider implements TwoFactorProvider { * * @param string $user user name * @param string $token login token + * @return string[] serials * @throws \Exception error during serial reading */ private function getSerialsForUser($user, $token) {