PHP Класс Mpociot\Reauthenticate\ReauthLimiter

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$key string The Reauthentication key.
$reauthTime integer Number of minutes a successful Reauthentication is valid.
$request Illuminate\Http\Request The HTTP request.

Открытые методы

Метод Описание
__construct ( Illuminate\Http\Request $request, string $key = null ) Create a new reauth limiter instance.
attempt ( string $password ) : boolean Attempt to Reauthenticate the user.
check ( ) : boolean Validate a reauthenticated Session data.

Описание методов

__construct() публичный метод

Create a new reauth limiter instance.
public __construct ( Illuminate\Http\Request $request, string $key = null )
$request Illuminate\Http\Request
$key string

attempt() публичный метод

Attempt to Reauthenticate the user.
public attempt ( string $password ) : boolean
$password string
Результат boolean

check() публичный метод

Validate a reauthenticated Session data.
public check ( ) : boolean
Результат boolean

Описание свойств

$key защищенное свойство

The Reauthentication key.
protected string $key
Результат string

$reauthTime защищенное свойство

Number of minutes a successful Reauthentication is valid.
protected int $reauthTime
Результат integer

$request защищенное свойство

The HTTP request.
protected Request,Illuminate\Http $request
Результат Illuminate\Http\Request