PHP 클래스 Mpociot\Reauthenticate\ReauthLimiter

파일 보기 프로젝트 열기: mpociot/reauthenticate 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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