aboutsummaryrefslogtreecommitdiff
path: root/Types/Creds.hs
blob: ad1827bc94e5a4f2b46759b048a169c293afc99a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{- credentials
 -
 - Copyright 2014 Joey Hess <id@joeyh.name>
 -
 - 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