BxCASConfig.php 1012 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php defined('BX_DOL') or die('hack attempt');
  2. /**
  3. * Copyright (c) UNA, Inc - https://una.io
  4. * MIT License - https://opensource.org/licenses/MIT
  5. *
  6. * @defgroup CASConnect CAS Connect
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. class BxCASConfig extends BxBaseModConnectConfig
  12. {
  13. public $sPageStart;
  14. public $sPageHandle;
  15. function __construct($aModule)
  16. {
  17. parent::__construct($aModule);
  18. $this -> sEmailTemplatePasswordGenerated = 'bx_cas_password_generated';
  19. $this -> sDefaultTitleLangKey = '_bx_cas';
  20. $this -> sRedirectPage = getParam('bx_cas_redirect_page');
  21. $this -> sProfilesModule = getParam('bx_cas_module');
  22. $this -> isAlwaysConfirmEmail = (bool)getParam('bx_cas_confirm_email');
  23. $this -> isAlwaysAutoApprove = (bool)getParam('bx_cas_approve');
  24. $this -> sPageStart = BX_DOL_URL_ROOT . $this -> getBaseUri() . 'start';
  25. $this -> sPageHandle = BX_DOL_URL_ROOT . $this -> getBaseUri() . 'handle';
  26. }
  27. }
  28. /** @} */