git-annex/Types/Creds.hs

15 lines
316 B
Haskell
Raw Normal View History

{- 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 = (Login, Password)
type Login = String
type Password = String -- todo: use securemem