Overview

Namespaces

  • PHP
  • ProgrammingAreHard
    • Arbiter
      • Domain
      • Model
  • Symfony
    • Component
      • Security
        • Acl
          • Exception
          • Model
          • Permission
        • Core
          • User

Classes

  • ChainUserProvider
  • InMemoryUserProvider
  • User
  • UserChecker

Interfaces

  • AdvancedUserInterface
  • EquatableInterface
  • UserCheckerInterface
  • UserInterface
  • UserProviderInterface
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php
 2: 
 3: /*
 4:  * This file is part of the Symfony package.
 5:  *
 6:  * (c) Fabien Potencier <fabien@symfony.com>
 7:  *
 8:  * For the full copyright and license information, please view the LICENSE
 9:  * file that was distributed with this source code.
10:  */
11: 
12: namespace Symfony\Component\Security\Core\User;
13: 
14: /**
15:  * UserCheckerInterface checks user account when authentication occurs.
16:  *
17:  * This should not be used to make authentication decisions.
18:  *
19:  * @author Fabien Potencier <fabien@symfony.com>
20:  */
21: interface UserCheckerInterface
22: {
23:     /**
24:      * Checks the user account before authentication.
25:      *
26:      * @param UserInterface $user a UserInterface instance
27:      */
28:     public function checkPreAuth(UserInterface $user);
29: 
30:     /**
31:      * Checks the user account after authentication.
32:      *
33:      * @param UserInterface $user a UserInterface instance
34:      */
35:     public function checkPostAuth(UserInterface $user);
36: }
37: 
Arbiter API documentation generated by ApiGen 2.8.0