2014-02-11 18:06:50 +00:00
|
|
|
{- 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
|
|
|
|
|
2014-04-29 22:01:14 +00:00
|
|
|
type CredPair = (Login, Password)
|
|
|
|
type Login = String
|
|
|
|
type Password = String -- todo: use securemem
|