summaryrefslogtreecommitdiffstats
path: root/config-templates/authsources.php
diff options
context:
space:
mode:
Diffstat (limited to 'config-templates/authsources.php')
-rw-r--r--config-templates/authsources.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/config-templates/authsources.php b/config-templates/authsources.php
new file mode 100644
index 0000000..85aec95
--- /dev/null
+++ b/config-templates/authsources.php
@@ -0,0 +1,26 @@
+<?php
+
+$config = array(
+
+ 'example-static' => array(
+ 'exampleauth:Static',
+ 'uid' => 'testuser',
+ 'eduPersonAffiliation' => array('member', 'employee'),
+ 'cn' => array('Test User'),
+ ),
+
+ 'example-userpass' => array(
+ 'exampleauth:UserPass',
+ 'student:studentpass' => array(
+ 'uid' => 'student',
+ 'eduPersonAffiliation' => array('member', 'student'),
+ ),
+ 'employee:employeepass' => array(
+ 'uid' => 'employee',
+ 'eduPersonAffiliation' => array('member', 'employee'),
+ ),
+ ),
+
+);
+
+?> \ No newline at end of file