Property | Type | Description | |
---|---|---|---|
$allowJsonp | boolean | ||
$controller | Controller | Reference to the current controller | |
$publicActions | array | List of actions that can be accessed without authentication | |
$request | CakeRequest | Reference to the current request | |
$response | CakeResponse | Reference to the current response |
Method | Description | |
---|---|---|
allowJsonp ( $value = true ) : void | Allow jsonp | |
allowPublic ( string $action ) : void | Allow public access to an action | |
beforeRedirect ( Controller $controller, mixed $url, integer $status = null, boolean $exit = true ) : void | beforeRedirection | |
beforeRender ( Controller $controller ) : void | beforeRender callback | |
denyPublic ( string $action ) : boolean | Deny public access to an action | |
hasError ( ) : boolean | Is the current controller an Error controller? | |
initialize ( Controller $controller ) : void | initialize callback | |
startup ( Controller $controller ) : void | startup method |
Method | Description | |
---|---|---|
configureApiAccess ( ) : void | Ensures that the current request is validated for Authentication | |
configureRequestDetectors ( ) : void | Configure detectors for API requests | |
setup ( Controller $controller ) : void | Setup method |
public allowPublic ( string $action ) : void | ||
$action | string | |
return | void |
public beforeRender ( Controller $controller ) : void | ||
$controller | Controller | |
return | void |
protected configureApiAccess ( ) : void | ||
return | void |
protected configureRequestDetectors ( ) : void | ||
return | void |
public denyPublic ( string $action ) : boolean | ||
$action | string | |
return | boolean |
public initialize ( Controller $controller ) : void | ||
$controller | Controller | |
return | void |
protected Controller $controller | ||
return | Controller |
protected array $publicActions | ||
return | array |
protected CakeRequest $request | ||
return | CakeRequest |