PHP Class AuthenticationManager

显示文件 Open project: yupe/yupe Class Usage Examples

Protected Properties

Property Type Description
$badLoginCount string

Public Methods

Method Description
getBadLoginCount ( IWebUser $user ) : integer
login ( LoginForm $form, IWebUser $user, CHttpRequest $request = null ) : boolean
logout ( IWebUser $user ) : boolean
setBadLoginCount ( IWebUser $user, $count )

Method Details

getBadLoginCount() public method

public getBadLoginCount ( IWebUser $user ) : integer
$user IWebUser
return integer

login() public method

public login ( LoginForm $form, IWebUser $user, CHttpRequest $request = null ) : boolean
$form LoginForm
$user IWebUser
$request CHttpRequest
return boolean

logout() public method

public logout ( IWebUser $user ) : boolean
$user IWebUser
return boolean

setBadLoginCount() public method

public setBadLoginCount ( IWebUser $user, $count )
$user IWebUser
$count

Property Details

$badLoginCount protected_oe property

protected string $badLoginCount
return string