summaryrefslogtreecommitdiffstats
path: root/modules/exampleauth/lib/Auth/Source
diff options
context:
space:
mode:
authorJaime Perez Crespo <jaime.perez@uninett.no>2015-09-01 13:38:52 +0200
committerJaime Perez Crespo <jaime.perez@uninett.no>2015-09-01 13:38:52 +0200
commit33aa4f30faaeeeebdc599ba10e2ffd759d828256 (patch)
tree52f0dd275b6f616c9a2ab1d33fb4103efb5c4cd8 /modules/exampleauth/lib/Auth/Source
parent60641a82c00244766d189f8ab3f16f5ba7b0ce02 (diff)
downloadsimplesamlphp-33aa4f30faaeeeebdc599ba10e2ffd759d828256.zip
simplesamlphp-33aa4f30faaeeeebdc599ba10e2ffd759d828256.tar.gz
simplesamlphp-33aa4f30faaeeeebdc599ba10e2ffd759d828256.tar.bz2
Refactor SimpleSAML\Utils\Arrays::normalizeAttributesArray() to SimpleSAML\Utils\Attributes::normalizeAttributesArray().
Diffstat (limited to 'modules/exampleauth/lib/Auth/Source')
-rw-r--r--modules/exampleauth/lib/Auth/Source/Static.php2
-rw-r--r--modules/exampleauth/lib/Auth/Source/UserPass.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/exampleauth/lib/Auth/Source/Static.php b/modules/exampleauth/lib/Auth/Source/Static.php
index 8355442..07351df 100644
--- a/modules/exampleauth/lib/Auth/Source/Static.php
+++ b/modules/exampleauth/lib/Auth/Source/Static.php
@@ -34,7 +34,7 @@ class sspmod_exampleauth_Auth_Source_Static extends SimpleSAML_Auth_Source {
/* Parse attributes. */
try {
- $this->attributes = SimpleSAML\Utils\Arrays::normalizeAttributesArray($config);
+ $this->attributes = SimpleSAML\Utils\Attributes::normalizeAttributesArray($config);
} catch(Exception $e) {
throw new Exception('Invalid attributes for authentication source ' .
$this->authId . ': ' . $e->getMessage());
diff --git a/modules/exampleauth/lib/Auth/Source/UserPass.php b/modules/exampleauth/lib/Auth/Source/UserPass.php
index 1b380de..22923c1 100644
--- a/modules/exampleauth/lib/Auth/Source/UserPass.php
+++ b/modules/exampleauth/lib/Auth/Source/UserPass.php
@@ -50,7 +50,7 @@ class sspmod_exampleauth_Auth_Source_UserPass extends sspmod_core_Auth_UserPassB
$password = $userpass[1];
try {
- $attributes = SimpleSAML\Utils\Arrays::normalizeAttributesArray($attributes);
+ $attributes = SimpleSAML\Utils\Attributes::normalizeAttributesArray($attributes);
} catch(Exception $e) {
throw new Exception('Invalid attributes for user ' . $username .
' in authentication source ' . $this->authId . ': ' .