for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Ubiquity\controllers\auth;
class AuthFiles {
protected $viewBase;
public function __construct() {
$this->viewBase = "@framework/auth";
}
/**
* To override
* The login view
*
* @return string
*/
public function getViewIndex() {
return $this->viewBase . "/index.html";
* The info view, displays the connected user and a logout button
public function getViewInfo() {
return $this->viewBase . "/info.html";
public function getViewNoAccess() {
return $this->viewBase . "/noAccess.html";
* Returns the base template for all Auth actions if getBaseTemplate return a base template filename
public function getViewBaseTemplate() {
return $this->viewBase . "/baseTemplate.html";
public function getViewDisconnected() {
return $this->viewBase . "/disconnected.html";
public function getViewMessage() {
return $this->viewBase . "/message.html";
* Returns the base template filename, default : null
public function getBaseTemplate() {
return;