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

Web.Exhentai.API.Auth

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

Generic Credential Source # 
Instance details

Defined in Web.Exhentai.API.Auth

Associated Types

type Rep Credential :: Type -> Type #

type Rep Credential Source # 
Instance details

Defined in Web.Exhentai.API.Auth

type Rep Credential = D1 ('MetaData "Credential" "Web.Exhentai.API.Auth" "exh-0.2.0-inplace" 'False) (C1 ('MetaCons "Credential" 'PrefixI 'True) (S1 ('MetaSel ('Just "username") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString) :*: S1 ('MetaSel ('Just "password") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))

auth :: MonadHttpState m => Credential -> m () Source #

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