apiary-authenticate-0.14.0: authenticate support for apiary web framework.

Safe HaskellNone

Web.Apiary.Authenticate

Contents

Synopsis

Documentation

data Provider Source

Constructors

Provider 

data OpenId_ a Source

Constructors

OpenId_ 

Fields

opLocal :: a
 
params :: [(a, a)]
 
claimed :: Maybe a
 

authHandler :: (Functor n, MonadIO n, HasAuth) => ApiaryT c n m ()Source

default auth handlers. since 0.8.0.0.

filter

authorized :: HasAuth => Apiary (Snoc as OpenId) a -> Apiary as aSource

filter which check whether logged in or not, and get id. since 0.7.0.0.

action

authLogout :: (Monad m, HasAuth) => ActionT m ()Source

delete session. since 0.7.0.0.

getter

authRoutes :: HasAuth => [(Text, ByteString)]Source

get authenticate routes: (title, route). since 0.7.0.0.

reexport