summaryrefslogtreecommitdiff
path: root/includes/external/school/node_modules/pronote-api/src/cas/monbureaunumerique-educonnect.js
diff options
context:
space:
mode:
Diffstat (limited to 'includes/external/school/node_modules/pronote-api/src/cas/monbureaunumerique-educonnect.js')
-rw-r--r--includes/external/school/node_modules/pronote-api/src/cas/monbureaunumerique-educonnect.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/includes/external/school/node_modules/pronote-api/src/cas/monbureaunumerique-educonnect.js b/includes/external/school/node_modules/pronote-api/src/cas/monbureaunumerique-educonnect.js
new file mode 100644
index 0000000..1b74ef0
--- /dev/null
+++ b/includes/external/school/node_modules/pronote-api/src/cas/monbureaunumerique-educonnect.js
@@ -0,0 +1,11 @@
+const educonnect = require('./generics/kdecole-educonnect');
+
+module.exports = (url, account, username, password) => educonnect({
+ url,
+ account,
+ username,
+ password,
+
+ casUrl: 'cas.monbureaunumerique.fr',
+ idp: 'EDU'
+});