Core\User\UserChecker (Component\Security)

Symfony\Component\Security\Core\User\UserChecker

class UserChecker implements UserCheckerInterface

UserChecker checks the user account flags.

Methods

checkPreAuth(UserInterface $user)

Checks the user account before authentication.

checkPostAuth(UserInterface $user)

Checks the user account after authentication.

Details

public checkPreAuth(UserInterface $user)

Checks the user account before authentication.

Parameters

UserInterface $user a UserInterface instance

public checkPostAuth(UserInterface $user)

Checks the user account after authentication.

Parameters

UserInterface $user a UserInterface instance

© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Security/Core/User/UserChecker.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部