PHP 클래스 TinyAuth\Controller\Component\AuthComponent

상속: extends Cake\Controller\Component\AuthComponent, use trait TinyAuth\Auth\AclTrait
파일 보기 프로젝트 열기: dereuromark/cakephp-tinyauth 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_defaultTinyAuthConfig array

공개 메소드들

메소드 설명
__construct ( Cake\Controller\ComponentRegistry $registry, array $config = [] )
beforeRender ( Cake\Event\Event $event ) : Response | null
implementedEvents ( ) : array Events supported by this component.
startup ( Cake\Event\Event $event ) : Response | null

보호된 메소드들

메소드 설명
_getAuth ( string | null $path = null ) : array Parse ini file and returns the allowed actions.
_prepareAuthentication ( ) : void

메소드 상세

__construct() 공개 메소드

public __construct ( Cake\Controller\ComponentRegistry $registry, array $config = [] )
$registry Cake\Controller\ComponentRegistry
$config array

_getAuth() 보호된 메소드

Uses cache for maximum performance.
protected _getAuth ( string | null $path = null ) : array
$path string | null
리턴 array Actions

_prepareAuthentication() 보호된 메소드

protected _prepareAuthentication ( ) : void
리턴 void

beforeRender() 공개 메소드

public beforeRender ( Cake\Event\Event $event ) : Response | null
$event Cake\Event\Event
리턴 Cake\Network\Response | null

implementedEvents() 공개 메소드

Events supported by this component.
public implementedEvents ( ) : array
리턴 array

startup() 공개 메소드

public startup ( Cake\Event\Event $event ) : Response | null
$event Cake\Event\Event Event instance.
리턴 Cake\Network\Response | null

프로퍼티 상세

$_defaultTinyAuthConfig 보호되어 있는 프로퍼티

protected array $_defaultTinyAuthConfig
리턴 array