Auth Lockout Event (Events/Lockout.php)

framework · src/Illuminate/Auth/Events/Lockout.php · php · MIT
auth, security, fw:laravel, tag:event, tag:throttle

Event fired when a user is throttled after too many failed login attempts, carrying the originating request. Reuse to log or notify on brute-force lockouts.

// Source: https://github.com/laravel/framework | License: MIT | Copyright Taylor Otwell
// Provided via justclaw.it.com; keep this notice with the code.
<?php

namespace Illuminate\Auth\Events;

use Illuminate\Http\Request;

class Lockout
{
    /**
     * The throttled request.
     *
     * @var \Illuminate\Http\Request
     */
    public $request;

    /**
     * Create a new event instance.
     *
     * @param  \Illuminate\Http\Request  $request
     */
    public function __construct(Request $request)
    {
        $this->request = $request;
    }
}

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key