PHP Class TinyAuth\Controller\Component\AuthComponent

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

Protected Properties

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

Méthodes publiques

Méthode Description
__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

Méthodes protégées

Méthode Description
_getAuth ( string | null $path = null ) : array Parse ini file and returns the allowed actions.
_prepareAuthentication ( ) : void

Method Details

__construct() public méthode

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

_getAuth() protected méthode

Uses cache for maximum performance.
protected _getAuth ( string | null $path = null ) : array
$path string | null
Résultat array Actions

_prepareAuthentication() protected méthode

protected _prepareAuthentication ( ) : void
Résultat void

beforeRender() public méthode

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

implementedEvents() public méthode

Events supported by this component.
public implementedEvents ( ) : array
Résultat array

startup() public méthode

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

Property Details

$_defaultTinyAuthConfig protected_oe property

protected array $_defaultTinyAuthConfig
Résultat array