ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
Password.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 2018 Nils Haagen <nils.haagen@concepts-and-training.de> Extended GPL, see docs/LICENSE */
3
4
namespace
ILIAS\Data
;
5
13
class
Password
14
{
15
19
private
$pass
;
20
21
public
function
__construct
(
$pass
)
22
{
23
if
(!is_string(
$pass
)) {
24
throw
new \InvalidArgumentException(
'Invalid value for $pass'
);
25
}
26
$this->pass =
$pass
;
27
}
28
34
public
function
toString
()
35
{
36
return
$this->pass
;
37
}
38
}
ILIAS\Data\Password\$pass
$pass
Definition:
Password.php:19
ILIAS\Data\Password
A password is used as part of credentials for authentication.
Definition:
Password.php:13
ILIAS\Data\Password\__construct
__construct($pass)
Definition:
Password.php:21
ILIAS\Data\Password\toString
toString()
Get the password-string.
Definition:
Password.php:34
php
ILIAS\Data
Definition:
ClientId.php:4
src
Data
Password.php
Generated on Thu Jan 16 2025 19:02:36 for ILIAS by
1.8.13 (using
Doxyfile
)