Skip to content

Commit 6f230dc

Browse files
committed
Fixes for modules/radius
1 parent f73fb84 commit 6f230dc

3 files changed

Lines changed: 411 additions & 13 deletions

File tree

modules/radius/lib/Auth/Source/Radius.php

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,65 +9,65 @@
99
*
1010
* @package SimpleSAMLphp
1111
*/
12-
1312
class Radius extends \SimpleSAML\Module\core\Auth\UserPassBase
1413
{
1514
/**
16-
* The list of radius servers to use.
15+
* Var array The list of radius servers to use.
1716
*/
1817
private $servers;
1918

2019
/**
21-
* The hostname of the radius server.
20+
* @var string The hostname of the radius server.
2221
*/
2322
private $hostname;
2423

2524
/**
26-
* The port of the radius server.
25+
* @var int The port of the radius server.
2726
*/
2827
private $port;
2928

3029
/**
31-
* The secret used when communicating with the radius server.
30+
* @var string The secret used when communicating with the radius server.
3231
*/
3332
private $secret;
3433

3534
/**
36-
* The timeout for contacting the radius server.
35+
* @var int The timeout for contacting the radius server.
3736
*/
3837
private $timeout;
3938

4039
/**
41-
* The number of retries which should be attempted.
40+
* @var int The number of retries which should be attempted.
4241
*/
4342
private $retries;
4443

4544
/**
46-
* The realm to be added to the entered username.
45+
* Var string The realm to be added to the entered username.
4746
*/
4847
private $realm;
4948

5049
/**
51-
* The attribute name where the username should be stored.
50+
* @var string The attribute name where the username should be stored.
5251
*/
5352
private $usernameAttribute;
5453

5554
/**
56-
* The vendor for the RADIUS attributes we are interrested in.
55+
* @var string The vendor for the RADIUS attributes we are interrested in.
5756
*/
5857
private $vendor;
5958

6059
/**
61-
* The vendor-specific attribute for the RADIUS attributes we are
62-
* interrested in.
60+
* @var string The vendor-specific attribute for the RADIUS attributes we are
61+
* interrested in.
6362
*/
6463
private $vendorType;
6564

6665
/**
67-
* The NAS-Identifier that should be set in Access-Request packets.
66+
* @var string The NAS-Identifier that should be set in Access-Request packets.
6867
*/
6968
private $nasIdentifier;
7069

70+
7171
/**
7272
* Constructor for this authentication source.
7373
*

psalm.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,6 @@
3030

3131
<stubs>
3232
<file name="tests/Utils/Stubs/krb5.php" />
33+
<file name="tests/Utils/Stubs/radius.php" />
3334
</stubs>
3435
</psalm>

0 commit comments

Comments
 (0)