exh-1.0.1: A library for crawling exhentai
Safe HaskellNone
LanguageHaskell2010

Web.Exhentai.API.Auth

Description

Authentication API.

Synopsis

Documentation

data Credential Source #

Constructors

Credential 

Instances

Instances details
Eq Credential Source # 
Instance details

Defined in Web.Exhentai.API.Auth

Show Credential Source # 
Instance details

Defined in Web.Exhentai.API.Auth

(k ~ A_Lens, a ~ ByteString, b ~ ByteString) => LabelOptic "password" k Credential Credential a b Source # 
Instance details

Defined in Web.Exhentai.API.Auth

(k ~ A_Lens, a ~ ByteString, b ~ ByteString) => LabelOptic "username" k Credential Credential a b Source # 
Instance details

Defined in Web.Exhentai.API.Auth

auth :: Effs '[Http, Error HttpException, Cookie, ConduitIO, Bracket] m => Credential -> m () Source #

Authenticates and loads user preferences. This should be called before any other functions are called