File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class OneLogin_Saml_AuthRequest
1111 * A SamlResponse class provided to the constructor.
1212 * @var OneLogin_Saml_Settings
1313 */
14- private $ _settings ;
14+ protected $ _settings ;
1515
1616 /**
1717 * Construct the response object.
@@ -61,12 +61,12 @@ public function getRedirectUrl()
6161 return $ this ->_settings ->idpSingleSignOnUrl . "?SAMLRequest= " . $ encodedRequest ;
6262 }
6363
64- private function _generateUniqueID ()
64+ protected function _generateUniqueID ()
6565 {
6666 return self ::ID_PREFIX . sha1 (uniqid (mt_rand (), TRUE ));
6767 }
6868
69- private function _getTimestamp ()
69+ protected function _getTimestamp ()
7070 {
7171 $ defaultTimezone = date_default_timezone_get ();
7272 date_default_timezone_set ('UTC ' );
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class OneLogin_Saml_Metadata
1414 * Service settings
1515 * @var OneLogin_Saml_Settings
1616 */
17- private $ _settings ;
17+ protected $ _settings ;
1818
1919 /**
2020 * Create a new Metadata document
@@ -47,7 +47,7 @@ public function getXml()
4747METADATA_TEMPLATE ;
4848 }
4949
50- private function _getMetadataValidTimestamp ()
50+ protected function _getMetadataValidTimestamp ()
5151 {
5252 $ timeZone = date_default_timezone_get ();
5353 date_default_timezone_set ('UTC ' );
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ class OneLogin_Saml_Response
88 /**
99 * @var OneLogin_Saml_Settings
1010 */
11- private $ _settings ;
11+ protected $ _settings ;
1212
1313 /**
1414 * The decoded, unprocessed XML assertion provided to the constructor.
@@ -82,7 +82,7 @@ public function getAttributes()
8282 * @param string $assertionXpath
8383 * @return DOMNodeList
8484 */
85- private function _queryAssertion ($ assertionXpath )
85+ protected function _queryAssertion ($ assertionXpath )
8686 {
8787 $ xpath = new DOMXPath ($ this ->document );
8888 $ xpath ->registerNamespace ('samlp ' , 'urn:oasis:names:tc:SAML:2.0:protocol ' );
Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ class OneLogin_Saml_XmlSec
99 * A SamlResponse class provided to the constructor.
1010 * @var OneLogin_Saml_Settings
1111 */
12- private $ _settings ;
12+ protected $ _settings ;
1313
1414 /**
1515 * The document to be tested.
1616 * @var DomDocument
1717 */
18- private $ _document ;
18+ protected $ _document ;
1919
2020 /**
2121 * Construct the SamlXmlSec object.
You can’t perform that action at this time.
0 commit comments