19 assert(
'is_array($info)');
20 assert(
'is_array($config)');
43 assert(
'is_string($username)');
44 assert(
'is_string($password)');
47 $adminPassword =
$config->getString(
'auth.adminpassword',
'123');
48 if ($adminPassword ===
'123') {
53 if ($username !==
"admin") {
setForcedUsername($forcedUsername)
Set forced username.
login($username, $password)
Attempt to log in using the given username and password.
Attribute-related utility methods.
Create styles array
The data for the language used.
__construct($info, $config)
Constructor for this authentication source.
static getInstance($instancename='simplesaml')
Get a configuration file by its instance name.