@@ -1105,6 +1105,7 @@ discard block |
||
1105 | 1105 | * @param string $class (Optionals) A CSS class for the icon. Will be |
1106 | 1106 | * appended after the 'helpcursor' class. Defaults to empty |
1107 | 1107 | * string. |
1108 | + * @param string $icon |
|
1108 | 1109 | */ |
1109 | 1110 | public static function printIcon($icon, $popuptext = '', $class = '') |
1110 | 1111 | { |
@@ -1225,6 +1226,7 @@ discard block |
||
1225 | 1226 | * the authnContextClassRef? If not, then ignore the 'Request |
1226 | 1227 | * Silver' checkbox and silver certification in metadata. |
1227 | 1228 | * Defaults to true. |
1229 | + * @param string $responseurl |
|
1228 | 1230 | */ |
1229 | 1231 | public static function redirectToGetShibUser( |
1230 | 1232 | $providerId = '', |
@@ -2272,7 +2274,7 @@ discard block |
||
2272 | 2274 | * following: 'pkcs12', 'gsca', or 'delegate'. |
2273 | 2275 | * @param int $defaultmaxlifetime Default maxlifetime (in hours) for the |
2274 | 2276 | * credential. |
2275 | - * @return array An array consisting of two entries: the minimum and |
|
2277 | + * @return integer[] An array consisting of two entries: the minimum and |
|
2276 | 2278 | * maximum lifetimes (in hours) for a credential. |
2277 | 2279 | */ |
2278 | 2280 | public static function getMinMaxLifetimes($section, $defaultmaxlifetime) |
@@ -2343,7 +2345,7 @@ discard block |
||
2343 | 2345 | * IdPs based on the skin's whitelist/blacklist and the global |
2344 | 2346 | * blacklist file. For the TestIdP page, the list is all InCommon IdPs. |
2345 | 2347 | * |
2346 | - * @param bool $incommon idps (Optional) Show all InCommon IdPs in |
|
2348 | + * @param bool $incommonidps idps (Optional) Show all InCommon IdPs in |
|
2347 | 2349 | * selection list? Defaults to false, which means show only |
2348 | 2350 | * whitelisted IdPs. |
2349 | 2351 | */ |
@@ -2420,6 +2422,7 @@ discard block |
||
2420 | 2422 | * @param string $clientparams |
2421 | 2423 | * @param string $redirect |
2422 | 2424 | * @param string $redirectform (Optional) |
2425 | + * @param string $lastname |
|
2423 | 2426 | */ |
2424 | 2427 | public static function printAttributeReleaseErrorMessage( |
2425 | 2428 | $ePPN, |
@@ -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 |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace CILogon\Service; |
4 | 4 | |
5 | -use CILogon\Service\Util; |
|
6 | 5 | use CILogon\Service\Loggit; |
6 | +use CILogon\Service\Util; |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * CSRF |
@@ -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 |
@@ -383,12 +383,6 @@ |
||
383 | 383 | * appropriately. If the servlet returns correctly (i.e. an HTTP |
384 | 384 | * status code of 200), this method returns true. |
385 | 385 | * |
386 | - * @param string $params,... Variable number of parameters: 1, or more. |
|
387 | - * For 1 parameter : $uid (database user identifier) |
|
388 | - * For more than 1 parameter, parameters can include: |
|
389 | - * $remote_user, $idp, $idp_display_name, |
|
390 | - * $first_name, $last_name, $display_name, $email, |
|
391 | - * $eppn, $eptid, $openid, $oidc, $affiliation, $ou |
|
392 | 386 | * |
393 | 387 | * @return bool True if the servlet returned correctly. Else false. |
394 | 388 | */ |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | * |
159 | 159 | * @param string $filetype (Optional) Type type of file to read, either |
160 | 160 | * 'xml' or 'json'. Defaults to 'json'. |
161 | - * @return bool True if the idplist was read from file. False otherwise. |
|
161 | + * @return boolean|null True if the idplist was read from file. False otherwise. |
|
162 | 162 | */ |
163 | 163 | public function read($filetype = 'json') |
164 | 164 | { |
@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | * |
237 | 237 | * @param string $filetype (Optional) Type type of file to write, either |
238 | 238 | * 'xml' or 'json'. Defaults to 'json'. |
239 | - * @return bool True if the idplist was written to file. False |
|
239 | + * @return boolean|null True if the idplist was written to file. False |
|
240 | 240 | * otherwise. |
241 | 241 | */ |
242 | 242 | public function write($filetype = 'json') |
@@ -325,7 +325,7 @@ discard block |
||
325 | 325 | * the internal idparray at the same time as the idpdom. |
326 | 326 | * |
327 | 327 | * @param DOMDocument $dom A DOMDocument object |
328 | - * @param DOMElement $idpnode A pointer to a parent <idp> DOMElement |
|
328 | + * @param \DOMElement $idpnode A pointer to a parent <idp> DOMElement |
|
329 | 329 | * @param string $nodename The name of the new child node DOMElement |
330 | 330 | * @param string $nodevalue The value of the new child node DOMElement |
331 | 331 | */ |
@@ -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 |
@@ -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'); |