summaryrefslogtreecommitdiff
path: root/school/node_modules/pronote-api/src/cas/ac-limoges.js
diff options
context:
space:
mode:
Diffstat (limited to 'school/node_modules/pronote-api/src/cas/ac-limoges.js')
-rw-r--r--school/node_modules/pronote-api/src/cas/ac-limoges.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/school/node_modules/pronote-api/src/cas/ac-limoges.js b/school/node_modules/pronote-api/src/cas/ac-limoges.js
new file mode 100644
index 0000000..db6377e
--- /dev/null
+++ b/school/node_modules/pronote-api/src/cas/ac-limoges.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: 'teleservices.ac-limoges.fr'
+});