Menu

## ThrottlesLogins

ThrottlesLogins.php : 12

### Table of Contents

#### Methods

decayMinutes() : int
  Get the number of minutes to throttle for.
maxAttempts() : int
  Get the maximum number of attempts to allow.
clearLoginAttempts() : void
  Clear the login locks for the given user credentials.
fireLockoutEvent() : void
  Fire an event when a lockout occurs.
hasTooManyLoginAttempts() : bool
  Determine if the user has too many failed login attempts.
incrementLoginAttempts() : void
  Increment the login attempts for the user.
limiter() : RateLimiter
  Get the rate limiter instance.
sendLockoutResponse() : void
  Redirect the user after determining they are locked out.
throttleKey() : string
  Get the throttle key for the given request.

### Methods

#### decayMinutes()

ThrottlesLogins.php : 116

Get the number of minutes to throttle for.

`public decayMinutes() : int`

##### Return values

int

#### maxAttempts()

ThrottlesLogins.php : 106

Get the maximum number of attempts to allow.

`public maxAttempts() : int`

##### Return values

int

#### clearLoginAttempts()

ThrottlesLogins.php : 64

Clear the login locks for the given user credentials.

`protected clearLoginAttempts(Request $request) : void`

##### Parameters

$request : Request

#### fireLockoutEvent()

ThrottlesLogins.php : 75

Fire an event when a lockout occurs.

`protected fireLockoutEvent(Request $request) : void`

##### Parameters

$request : Request

#### hasTooManyLoginAttempts()

ThrottlesLogins.php : 20

Determine if the user has too many failed login attempts.

`protected hasTooManyLoginAttempts(Request $request) : bool`

##### Parameters

$request : Request

##### Return values

bool

#### incrementLoginAttempts()

ThrottlesLogins.php : 33

Increment the login attempts for the user.

`protected incrementLoginAttempts(Request $request) : void`

##### Parameters

$request : Request

#### limiter()

ThrottlesLogins.php : 96

Get the rate limiter instance.

`protected limiter() : RateLimiter`

##### Return values

RateLimiter

#### sendLockoutResponse()

ThrottlesLogins.php : 47

Redirect the user after determining they are locked out.

`protected sendLockoutResponse(Request $request) : void`

##### Parameters

$request : Request

##### Tags

throws
  ValidationException

#### throttleKey()

ThrottlesLogins.php : 86

Get the throttle key for the given request.

`protected throttleKey(Request $request) : string`

##### Parameters

$request : Request

##### Return values

string

## Search results