October\Rain\Auth\Concerns\HasThrottle


Public Methods

public clearThrottleForUserId()

public clearThrottleForUserId($userId): void

clearThrottleForUserId unsuspends and clears all throttles records for a user

public createThrottleModel()

public createThrottleModel(): Models\Throttle 

createThrottleModel creates an instance of the throttle model.

public findThrottleByLogin()

public findThrottleByLogin(
    string $loginName,
    string $ipAddress
): Models\Throttle 

findThrottleByLogin and ip address

public findThrottleByUserId()

public findThrottleByUserId(
    integer $userId,
    string $ipAddress = null
): Models\Throttle 

findThrottleByUserId and ip address