summaryrefslogtreecommitdiff
path: root/Types/Creds.hs
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2014-02-11 14:06:50 -0400
committerJoey Hess <joey@kitenet.net>2014-02-11 14:07:56 -0400
commitfa24ba2520594d339dd561ac36b8432f941b1c5d (patch)
tree0a37dead838dd0596ea79c94c858bedf9edd2344 /Types/Creds.hs
parentb2fae4b78fc2cf899c6cabdb132d0271763c04e9 (diff)
plumb creds from webapp to initremote
Avoids abusing setting environment variables, which was always a hack and won't work on windows.
Diffstat (limited to 'Types/Creds.hs')
-rw-r--r--Types/Creds.hs12
1 files changed, 12 insertions, 0 deletions
diff --git a/Types/Creds.hs b/Types/Creds.hs
new file mode 100644
index 0000000000..cb312f66de
--- /dev/null
+++ b/Types/Creds.hs
@@ -0,0 +1,12 @@
+{- credentials
+ -
+ - Copyright 2014 Joey Hess <joey@kitenet.net>
+ -
+ - Licensed under the GNU GPL version 3 or higher.
+ -}
+
+module Types.Creds where
+
+type Creds = String -- can be any data that contains credentials
+
+type CredPair = (String, String) -- login, password