@@ -2,13 +2,13 @@ |
||
2 | 2 | |
3 | 3 | namespace CILogon\Service; |
4 | 4 | |
5 | -use CILogon\Service\Util; |
|
6 | -use CILogon\Service\TwoFactor; |
|
7 | -use CILogon\Service\MyProxy; |
|
8 | -use CILogon\Service\PortalCookie; |
|
9 | 5 | use CILogon\Service\DBService; |
10 | -use CILogon\Service\OAuth2Provider; |
|
11 | 6 | use CILogon\Service\Loggit; |
7 | +use CILogon\Service\MyProxy; |
|
8 | +use CILogon\Service\OAuth2Provider; |
|
9 | +use CILogon\Service\PortalCookie; |
|
10 | +use CILogon\Service\TwoFactor; |
|
11 | +use CILogon\Service\Util; |
|
12 | 12 | use Net_LDAP2_Util; |
13 | 13 | |
14 | 14 | // If needed, set the 'Notification' banner text to a non-empty value |
@@ -1224,6 +1224,7 @@ discard block |
||
1224 | 1224 | * the authnContextClassRef? If not, then ignore the 'Request |
1225 | 1225 | * Silver' checkbox and silver certification in metadata. |
1226 | 1226 | * Defaults to true. |
1227 | + * @param string $responseurl |
|
1227 | 1228 | */ |
1228 | 1229 | public static function redirectToGetShibUser( |
1229 | 1230 | $providerId = '', |
@@ -2272,7 +2273,7 @@ discard block |
||
2272 | 2273 | * following: 'pkcs12', 'gsca', or 'delegate'. |
2273 | 2274 | * @param int $defaultmaxlifetime Default maxlifetime (in hours) for the |
2274 | 2275 | * credential. |
2275 | - * @return array An array consisting of two entries: the minimum and |
|
2276 | + * @return integer[] An array consisting of two entries: the minimum and |
|
2276 | 2277 | * maximum lifetimes (in hours) for a credential. |
2277 | 2278 | */ |
2278 | 2279 | public static function getMinMaxLifetimes($section, $defaultmaxlifetime) |
@@ -3,8 +3,8 @@ |
||
3 | 3 | namespace CILogon\Service; |
4 | 4 | |
5 | 5 | use CILogon\Service\Util; |
6 | -use PEAR; |
|
7 | 6 | use DB; |
7 | +use PEAR; |
|
8 | 8 | |
9 | 9 | /** |
10 | 10 | * DBProps |
@@ -5,8 +5,8 @@ |
||
5 | 5 | use CILogon\Service\Util; |
6 | 6 | use DOMDocument; |
7 | 7 | use DOMImplementation; |
8 | -use XSLTProcessor; |
|
9 | 8 | use SimpleXMLElement; |
9 | +use XSLTProcessor; |
|
10 | 10 | |
11 | 11 | /** |
12 | 12 | * IdpList |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | * |
158 | 158 | * @param string $filetype (Optional) Type type of file to read, either |
159 | 159 | * 'xml' or 'json'. Defaults to 'json'. |
160 | - * @return bool True if the idplist was read from file. False otherwise. |
|
160 | + * @return boolean|null True if the idplist was read from file. False otherwise. |
|
161 | 161 | */ |
162 | 162 | public function read($filetype = 'json') |
163 | 163 | { |
@@ -235,7 +235,7 @@ discard block |
||
235 | 235 | * |
236 | 236 | * @param string $filetype (Optional) Type type of file to write, either |
237 | 237 | * 'xml' or 'json'. Defaults to 'json'. |
238 | - * @return bool True if the idplist was written to file. False |
|
238 | + * @return boolean|null True if the idplist was written to file. False |
|
239 | 239 | * otherwise. |
240 | 240 | */ |
241 | 241 | public function write($filetype = 'json') |
@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace CILogon\Service; |
4 | 4 | |
5 | -use CILogon\Service\Util; |
|
6 | 5 | use CILogon\Service\Content; |
7 | 6 | use CILogon\Service\Loggit; |
7 | +use CILogon\Service\Util; |
|
8 | 8 | |
9 | 9 | /** |
10 | 10 | * ShibError |
@@ -159,6 +159,7 @@ |
||
159 | 159 | * @param string $key The secret registration key to set for the |
160 | 160 | * two-factor type. Empty string implies unregister |
161 | 161 | * the $tftype. |
162 | + * @param string $tftype |
|
162 | 163 | */ |
163 | 164 | public static function setRegister($tftype, $key) |
164 | 165 | { |
@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace CILogon\Service; |
4 | 4 | |
5 | -use CILogon\Service\Util; |
|
6 | 5 | use CILogon\Service\Content; |
7 | 6 | use CILogon\Service\DuoConfig; |
7 | +use CILogon\Service\Util; |
|
8 | 8 | use Duo\Web; |
9 | 9 | use Endroid\QrCode\QrCode; |
10 | 10 | use PHPGangsta_GoogleAuthenticator; |
@@ -100,7 +100,7 @@ |
||
100 | 100 | * $skin to be used by other classes (since loading the skin is |
101 | 101 | * potentially expensive). |
102 | 102 | * |
103 | - * @return The class instantiated Skin object. |
|
103 | + * @return Skin class instantiated Skin object. |
|
104 | 104 | */ |
105 | 105 | public static function getSkin() |
106 | 106 | { |
@@ -3,15 +3,15 @@ |
||
3 | 3 | namespace CILogon\Service; |
4 | 4 | |
5 | 5 | use CILogon\Service\CSRF; |
6 | -use CILogon\Service\Loggit; |
|
7 | -use CILogon\Service\IdpList; |
|
8 | 6 | use CILogon\Service\DBService; |
7 | +use CILogon\Service\IdpList; |
|
8 | +use CILogon\Service\Loggit; |
|
9 | +use CILogon\Service\PortalCookie; |
|
9 | 10 | use CILogon\Service\SessionMgr; |
10 | 11 | use CILogon\Service\Skin; |
11 | 12 | use CILogon\Service\TimeIt; |
12 | -use CILogon\Service\PortalCookie; |
|
13 | -use PEAR; |
|
14 | 13 | use Config; |
14 | +use PEAR; |
|
15 | 15 | |
16 | 16 | // Full path to the php.ini-style config file for the CILogon Service |
17 | 17 | define('CILOGON_INI_FILE', '/var/www/config/cilogon.ini'); |