summaryrefslogtreecommitdiff
path: root/Types/Creds.hs
blob: c16e530b1fddb219f6a9d19a6f99cf990d89b4ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{- 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