summaryrefslogtreecommitdiff
path: root/src/constants.js
diff options
context:
space:
mode:
authorLizzy Hunt <logan.hunt@usu.edu>2023-02-14 17:37:40 -0700
committerLizzy Hunt <logan.hunt@usu.edu>2023-02-14 17:37:40 -0700
commit39cb1f34e3ebc4c989f1c1b44f031331d8c3e036 (patch)
treedf70f4e03bad994de61ed89ec478632f6bbef441 /src/constants.js
downloadaggietimed-39cb1f34e3ebc4c989f1c1b44f031331d8c3e036.tar.gz
aggietimed-39cb1f34e3ebc4c989f1c1b44f031331d8c3e036.zip
it's a commit, innit\?
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]",
+];