PHP 인터페이스 Cartalyst\Sentinel\Throttling\ThrottleRepositoryInterface

파일 보기 프로젝트 열기: cartalyst/sentinel 0 사용 예제들

공개 메소드들

메소드 설명
globalDelay ( ) : integer Returns the global throttling delay, in seconds.
ipDelay ( string $ipAddress ) : integer Returns the IP address throttling delay, in seconds.
log ( string $ipAddress = null, Cartalyst\Sentinel\Users\UserInterface $user = null ) : void Logs a new throttling entry.
userDelay ( Cartalyst\Sentinel\Users\UserInterface $user ) : integer Returns the throttling delay for the given user, in seconds.

메소드 상세

globalDelay() 공개 메소드

Returns the global throttling delay, in seconds.
public globalDelay ( ) : integer
리턴 integer

ipDelay() 공개 메소드

Returns the IP address throttling delay, in seconds.
public ipDelay ( string $ipAddress ) : integer
$ipAddress string
리턴 integer

log() 공개 메소드

Logs a new throttling entry.
public log ( string $ipAddress = null, Cartalyst\Sentinel\Users\UserInterface $user = null ) : void
$ipAddress string
$user Cartalyst\Sentinel\Users\UserInterface
리턴 void

userDelay() 공개 메소드

Returns the throttling delay for the given user, in seconds.
public userDelay ( Cartalyst\Sentinel\Users\UserInterface $user ) : integer
$user Cartalyst\Sentinel\Users\UserInterface
리턴 integer