Safe Haskell | None |
---|---|
Language | Haskell2010 |
Authentication API.
Synopsis
- data Credential = Credential {}
- auth :: Effs '[Http, Error HttpException, Cookie, ConduitIO, Bracket] m => Credential -> m ()
Documentation
data Credential Source #
Instances
Eq Credential Source # | |
Defined in Web.Exhentai.API.Auth (==) :: Credential -> Credential -> Bool # (/=) :: Credential -> Credential -> Bool # | |
Show Credential Source # | |
Defined in Web.Exhentai.API.Auth showsPrec :: Int -> Credential -> ShowS # show :: Credential -> String # showList :: [Credential] -> ShowS # | |
(k ~ A_Lens, a ~ ByteString, b ~ ByteString) => LabelOptic "password" k Credential Credential a b Source # | |
Defined in Web.Exhentai.API.Auth labelOptic :: Optic k NoIx Credential Credential a b # | |
(k ~ A_Lens, a ~ ByteString, b ~ ByteString) => LabelOptic "username" k Credential Credential a b Source # | |
Defined in Web.Exhentai.API.Auth labelOptic :: Optic k NoIx Credential Credential a b # |