summaryrefslogtreecommitdiff
path: root/alarm/node_modules/pronote-api/src/cas/ac-bordeaux.js
diff options
context:
space:
mode:
Diffstat (limited to 'alarm/node_modules/pronote-api/src/cas/ac-bordeaux.js')
-rw-r--r--alarm/node_modules/pronote-api/src/cas/ac-bordeaux.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/alarm/node_modules/pronote-api/src/cas/ac-bordeaux.js b/alarm/node_modules/pronote-api/src/cas/ac-bordeaux.js
new file mode 100644
index 0000000..938ab83
--- /dev/null
+++ b/alarm/node_modules/pronote-api/src/cas/ac-bordeaux.js
@@ -0,0 +1,11 @@
+const aten = require('./generics/aten');
+
+module.exports = (url, account, username, password) => aten.login({
+ url,
+ account,
+ username,
+ password,
+
+ startURL: '/sso/SSO?SPEntityID=https%3A%2F%2Fmon.lyceeconnecte.fr%2Fauth%2Fsaml%2Fmetadata%2Fidp.xml',
+ atenURL: 'bv.ac-bordeaux.fr'
+});