diff options
author | Pascal Borreli <pascal@borreli.com> | 2011-04-23 15:05:44 +0000 |
---|---|---|
committer | Pascal Borreli <pascal@borreli.com> | 2011-04-23 15:18:47 +0000 |
commit | e2231da7eadcdc2ec5ac5be89ce3d21422dfafd6 (patch) | |
tree | f32c9af26b3d40607668ea13c1ed307549b15b4f /Core/Authentication | |
parent | badc0d6f36373b81ab66c48342e024649321700f (diff) | |
download | symfony-security-e2231da7eadcdc2ec5ac5be89ce3d21422dfafd6.zip symfony-security-e2231da7eadcdc2ec5ac5be89ce3d21422dfafd6.tar.gz symfony-security-e2231da7eadcdc2ec5ac5be89ce3d21422dfafd6.tar.bz2 |
[Phpdoc] Cleaning/fixing
Diffstat (limited to 'Core/Authentication')
6 files changed, 24 insertions, 16 deletions
diff --git a/Core/Authentication/Provider/DaoAuthenticationProvider.php b/Core/Authentication/Provider/DaoAuthenticationProvider.php index fa08955..f9e8b38 100644 --- a/Core/Authentication/Provider/DaoAuthenticationProvider.php +++ b/Core/Authentication/Provider/DaoAuthenticationProvider.php @@ -35,9 +35,11 @@ class DaoAuthenticationProvider extends UserAuthenticationProvider /** * Constructor. * - * @param UserProviderInterface $userProvider A UserProviderInterface instance - * @param UserCheckerInterface $userChecker An UserCheckerInterface instance - * @param EncoderFactoryInterface $encoderFactory A EncoderFactoryInterface instance + * @param UserProviderInterface $userProvider An UserProviderInterface instance + * @param UserCheckerInterface $userChecker An UserCheckerInterface instance + * @param string $providerKey The provider key + * @param EncoderFactoryInterface $encoderFactory An EncoderFactoryInterface instance + * @param Boolean $hideUserNotFoundExceptions Whether to hide user not found exception or not */ public function __construct(UserProviderInterface $userProvider, UserCheckerInterface $userChecker, $providerKey, EncoderFactoryInterface $encoderFactory, $hideUserNotFoundExceptions = true) { diff --git a/Core/Authentication/Provider/PreAuthenticatedAuthenticationProvider.php b/Core/Authentication/Provider/PreAuthenticatedAuthenticationProvider.php index bf2df86..e4bf963 100644 --- a/Core/Authentication/Provider/PreAuthenticatedAuthenticationProvider.php +++ b/Core/Authentication/Provider/PreAuthenticatedAuthenticationProvider.php @@ -37,8 +37,9 @@ class PreAuthenticatedAuthenticationProvider implements AuthenticationProviderIn /** * Constructor. * - * @param UserProviderInterface $userProvider A UserProviderInterface instance - * @param UserCheckerInterface $userChecker An UserCheckerInterface instance + * @param UserProviderInterface $userProvider An UserProviderInterface instance + * @param UserCheckerInterface $userChecker An UserCheckerInterface instance + * @param string $providerKey The provider key */ public function __construct(UserProviderInterface $userProvider, UserCheckerInterface $userChecker, $providerKey) { diff --git a/Core/Authentication/Provider/UserAuthenticationProvider.php b/Core/Authentication/Provider/UserAuthenticationProvider.php index 7b6079d..8183c62 100644 --- a/Core/Authentication/Provider/UserAuthenticationProvider.php +++ b/Core/Authentication/Provider/UserAuthenticationProvider.php @@ -34,8 +34,9 @@ abstract class UserAuthenticationProvider implements AuthenticationProviderInter /** * Constructor. * - * @param UserCheckerInterface $userChecker An UserCheckerInterface interface - * @param Boolean $hideUserNotFoundExceptions Whether to hide user not found exception or not + * @param UserCheckerInterface $userChecker An UserCheckerInterface interface + * @param string $providerKey A provider key + * @param Boolean $hideUserNotFoundExceptions Whether to hide user not found exception or not */ public function __construct(UserCheckerInterface $userChecker, $providerKey, $hideUserNotFoundExceptions = true) { @@ -110,8 +111,8 @@ abstract class UserAuthenticationProvider implements AuthenticationProviderInter * Does additional checks on the user and token (like validating the * credentials). * - * @param UserInterface $user The retrieved UserInterface instance - * @param UsernamePasswordToken $token The UsernamePasswordToken token to be authenticated + * @param UserInterface $user The retrieved UserInterface instance + * @param UsernamePasswordToken $token The UsernamePasswordToken token to be authenticated * * @throws AuthenticationException if the credentials could not be validated */ diff --git a/Core/Authentication/RememberMe/PersistentToken.php b/Core/Authentication/RememberMe/PersistentToken.php index 0e8f7d2..55e6b89 100644 --- a/Core/Authentication/RememberMe/PersistentToken.php +++ b/Core/Authentication/RememberMe/PersistentToken.php @@ -27,10 +27,10 @@ final class PersistentToken implements PersistentTokenInterface /** * Constructor * - * @param string $class - * @param string $username - * @param string $series - * @param string $tokenValue + * @param string $class + * @param string $username + * @param string $series + * @param string $tokenValue * @param DateTime $lastUsed */ public function __construct($class, $username, $series, $tokenValue, \DateTime $lastUsed) diff --git a/Core/Authentication/RememberMe/TokenProviderInterface.php b/Core/Authentication/RememberMe/TokenProviderInterface.php index 780a544..1ec9c80 100644 --- a/Core/Authentication/RememberMe/TokenProviderInterface.php +++ b/Core/Authentication/RememberMe/TokenProviderInterface.php @@ -37,8 +37,8 @@ interface TokenProviderInterface /** * Updates the token according to this data * - * @param string $series - * @param string $tokenValue + * @param string $series + * @param string $tokenValue * @param DateTime $lastUsed */ function updateToken($series, $tokenValue, \DateTime $lastUsed); diff --git a/Core/Authentication/Token/UsernamePasswordToken.php b/Core/Authentication/Token/UsernamePasswordToken.php index 67311db..6c6ed5b 100644 --- a/Core/Authentication/Token/UsernamePasswordToken.php +++ b/Core/Authentication/Token/UsernamePasswordToken.php @@ -24,8 +24,12 @@ class UsernamePasswordToken extends AbstractToken /** * Constructor. * - * @param string $user The username (like a nickname, email address, etc.) + * @param string $user The username (like a nickname, email address, etc.) * @param string $credentials This usually is the password of the user + * @param string $providerKey The provider key + * @param array $roles An array of roles + * + * @throws \InvalidArgumentException */ public function __construct($user, $credentials, $providerKey, array $roles = array()) { |