PHP Class TinyAuth\Controller\Component\AuthUserComponent

Inheritance: extends Cake\Controller\Component, use trait TinyAuth\Auth\AclTrait, use trait TinyAuth\Auth\AuthUserTrait
Mostra file Open project: dereuromark/cakephp-tinyauth Class Usage Examples

Public Properties

Property Type Description
$components array

Public Methods

Method Description
__construct ( Cake\Controller\ComponentRegistry $registry, array $config = [] )
beforeRender ( Cake\Event\Event $event ) : Response | null
hasAccess ( array $url ) : boolean

Protected Methods

Method Description
_getUser ( ) : array

Method Details

__construct() public method

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

_getUser() protected method

protected _getUser ( ) : array
return array

beforeRender() public method

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

hasAccess() public method

public hasAccess ( array $url ) : boolean
$url array
return boolean

Property Details

$components public_oe property

public array $components
return array