plumb creds from webapp to initremote
Avoids abusing setting environment variables, which was always a hack and won't work on windows.
This commit is contained in:
parent
b2fae4b78f
commit
fa24ba2520
24 changed files with 96 additions and 92 deletions
12
Types/Creds.hs
Normal file
12
Types/Creds.hs
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue