summaryrefslogtreecommitdiff
path: root/school/node_modules/pronote-api/src/cas/ac-caen.js
diff options
context:
space:
mode:
Diffstat (limited to 'school/node_modules/pronote-api/src/cas/ac-caen.js')
-rw-r--r--school/node_modules/pronote-api/src/cas/ac-caen.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/school/node_modules/pronote-api/src/cas/ac-caen.js b/school/node_modules/pronote-api/src/cas/ac-caen.js
new file mode 100644
index 0000000..1565539
--- /dev/null
+++ b/school/node_modules/pronote-api/src/cas/ac-caen.js
@@ -0,0 +1,15 @@
+const wayf = require('./generics/wayf');
+
+module.exports = (url, account, username, password) => wayf({
+ url,
+ username,
+ password,
+
+ startURL: 'https://fip.itslearning.com/SP/bn/',
+ wayfURL: 'https://fip.itslearning.com/ds-bn/',
+ atenURL: 'teleservices.ac-caen.fr',
+
+ extraParams: {
+ origin: 'urn:fi:ac-caen:ts:1.0'
+ }
+});