PHP 클래스 li3_access\extensions\adapter\security\access\Simple

상속: extends lithium\core\Object
파일 보기 프로젝트 열기: tmaiaroto/li3_access

공개 메소드들

메소드 설명
check ( mixed $user, mixed $params, array $options = [] ) : Array The Simple adapter will just check for user data.

메소드 상세

check() 공개 메소드

It doesn't care about anything else.
public check ( mixed $user, mixed $params, array $options = [] ) : Array
$user mixed The user data array that holds all necessary information about the user requesting access. Or `false` (because `Auth::check()` can return `false`).
$params mixed The Lithium `Request` object, or an array with at least 'request', and 'params'
$options array An array of additional options.
리턴 Array An empty array if access is allowed and an array with reasons for denial if denied.