servant-auth-token-0.4.6.0: Servant based API and server for token based authorisation

Copyright(c) Anton Gushcha 2016
LicenseMIT
Maintainerncrashed@gmail.com
Stabilityexperimental
PortabilityPortable
Safe HaskellNone
LanguageHaskell2010

Servant.Server.Auth.Token.Pagination

Description

 

Synopsis

Documentation

pagination Source #

Arguments

:: AuthHandler m 
=> Maybe Page

Parameter of page

-> Maybe PageSize

Parameter of page size

-> (Page -> PageSize -> m a)

Handler

-> m a 

Helper that implements pagination logic