diff options
author | Thijs Kinkhorst <thijs@kinkhorst.com> | 2016-11-15 17:57:32 +0000 |
---|---|---|
committer | Thijs Kinkhorst <thijs@kinkhorst.com> | 2016-11-15 17:57:32 +0000 |
commit | e3acea6ee14837acc134014b2649ede1f904056f (patch) | |
tree | d5cddfdc68f91d59841595e56b2073191b780aa6 /modules/authX509/lib/Auth/Process | |
parent | d7446b0669687b01a520fc536478163e6d0afada (diff) | |
parent | 3a20131cb7a466688a2ced47afad36e4bce42c64 (diff) | |
download | simplesamlphp-origin/twigified.zip simplesamlphp-origin/twigified.tar.gz simplesamlphp-origin/twigified.tar.bz2 |
Merge branch 'master' into twigifiedorigin/twigified
Diffstat (limited to 'modules/authX509/lib/Auth/Process')
-rw-r--r-- | modules/authX509/lib/Auth/Process/ExpiryWarning.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/authX509/lib/Auth/Process/ExpiryWarning.php b/modules/authX509/lib/Auth/Process/ExpiryWarning.php index a108d95..7a8841e 100644 --- a/modules/authX509/lib/Auth/Process/ExpiryWarning.php +++ b/modules/authX509/lib/Auth/Process/ExpiryWarning.php @@ -14,7 +14,8 @@ * @author Joost van Dijk, SURFnet. <Joost.vanDijk@surfnet.nl> * @package SimpleSAMLphp */ -class sspmod_authX509_Auth_Process_ExpiryWarning extends SimpleSAML_Auth_ProcessingFilter { +class sspmod_authX509_Auth_Process_ExpiryWarning extends SimpleSAML_Auth_ProcessingFilter +{ private $warndaysbefore = 30; private $renewurl = null; @@ -25,7 +26,8 @@ class sspmod_authX509_Auth_Process_ExpiryWarning extends SimpleSAML_Auth_Process * @param array $config Configuration information about this filter. * @param mixed $reserved For future use. */ - public function __construct($config, $reserved) { + public function __construct($config, $reserved) + { parent::__construct($config, $reserved); assert('is_array($config)'); @@ -53,7 +55,8 @@ class sspmod_authX509_Auth_Process_ExpiryWarning extends SimpleSAML_Auth_Process * * @param array $state The state of the response. */ - public function process(&$state) { + public function process(&$state) + { assert('is_array($state)'); if (isset($state['isPassive']) && $state['isPassive'] === true) { |