PHP 클래스 Bolt\AccessControl\Password

저자: Gawain Lynch ([email protected])
파일 보기 프로젝트 열기: bolt/bolt 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$app Silex\Application

공개 메소드들

메소드 설명
__construct ( Silex\Application $app )
resetPasswordConfirm ( string $token, string $remoteIP, Symfony\Component\EventDispatcher\Event $event ) : boolean Handle a password reset confirmation.
resetPasswordRequest ( string $username, string $remoteIP, Symfony\Component\EventDispatcher\Event $event ) : boolean Sends email with password request. Accepts email or username.
setRandomPassword ( string $username ) : string | boolean Set a random password for user.

비공개 메소드들

메소드 설명
resetPasswordNotification ( Bolt\Storage\Entity\Users $userEntity, string $shadowPassword, string $shadowToken ) Send the password reset link notification to the user.

메소드 상세

__construct() 공개 메소드

public __construct ( Silex\Application $app )
$app Silex\Application

resetPasswordConfirm() 공개 메소드

Handle a password reset confirmation.
public resetPasswordConfirm ( string $token, string $remoteIP, Symfony\Component\EventDispatcher\Event $event ) : boolean
$token string
$remoteIP string
$event Symfony\Component\EventDispatcher\Event
리턴 boolean

resetPasswordRequest() 공개 메소드

Sends email with password request. Accepts email or username.
public resetPasswordRequest ( string $username, string $remoteIP, Symfony\Component\EventDispatcher\Event $event ) : boolean
$username string
$remoteIP string
$event Symfony\Component\EventDispatcher\Event
리턴 boolean

setRandomPassword() 공개 메소드

Set a random password for user.
public setRandomPassword ( string $username ) : string | boolean
$username string User specified by ID, username or email address.
리턴 string | boolean New password or FALSE when no match for username.

프로퍼티 상세

$app 보호되어 있는 프로퍼티

protected Application,Silex $app
리턴 Silex\Application