summaryrefslogtreecommitdiff
path: root/src/constants.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/constants.js')
-rw-r--r--src/constants.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/constants.js b/src/constants.js
new file mode 100644
index 0000000..5087f3f
--- /dev/null
+++ b/src/constants.js
@@ -0,0 +1,12 @@
+export const AGGIETIME_URI = "https://aggietimeultra.usu.edu";
+export const LOGIN_PATH = "api/v1/auth/login";
+export const EXECUTION_SELECTOR = "input[type=hidden][name=execution]";
+export const DUO_IFRAME_SELECTOR = "#duo_iframe";
+export const DUO_FACTOR = "Duo Push";
+export const DUO_INPUT_FIELD_SELECTORS = [
+ "input[type=hidden][name=sid]",
+ "input[type=hidden][name=out_of_date]",
+ "input[type=hidden][name=days_out_of_date]",
+ "input[type=hidden][name=days_to_block]",
+ "input[type=hidden][name=preferred_device]",
+];