PHP Class TinyAuth\Controller\Component\AuthUserComponent

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

Méthodes publiques

Свойство Type Description
$components array

Méthodes publiques

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

Méthodes protégées

Méthode Description
_getUser ( ) : array

Method Details

__construct() public méthode

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

_getUser() protected méthode

protected _getUser ( ) : array
Résultat array

beforeRender() public méthode

public beforeRender ( Cake\Event\Event $event ) : Response | null
$event Cake\Event\Event
Résultat Cake\Network\Response | null

hasAccess() public méthode

public hasAccess ( array $url ) : boolean
$url array
Résultat boolean

Property Details

$components public_oe property

public array $components
Résultat array