Prado\Security\TAuthManager::getLoginPage PHP Method

getLoginPage() public method

public getLoginPage ( ) : string
return string path of login page should login is required
    public function getLoginPage()
    {
        return $this->_loginPage;
    }

Usage Example

Example #1
0
 public function testLoginPage()
 {
     $authManager = new TAuthManager();
     $authManager->setUserManager('users');
     $authManager->init(null);
     $authManager->setLoginPage('LoginPage');
     self::assertEquals('LoginPage', $authManager->getLoginPage());
 }