servant-0.13: A family of combinators for defining webservices APIs

Safe HaskellSafe
LanguageHaskell2010

Servant.API.Experimental.Auth

Synopsis

Documentation

data AuthProtect (tag :: k) Source #

A generalized Authentication combinator. Use this if you have a non-standard authentication technique.

NOTE: THIS API IS EXPERIMENTAL AND SUBJECT TO CHANGE.

Instances

HasLink * sub => HasLink * ((:>) * (AuthProtect k tag) sub) Source # 

Associated Types

type MkLink ((* :> AuthProtect k tag) sub) (endpoint :: (* :> AuthProtect k tag) sub) :: * Source #

Methods

toLink :: Proxy ((* :> AuthProtect k tag) sub) endpoint -> Link -> MkLink ((* :> AuthProtect k tag) sub) endpoint Source #

type MkLink * ((:>) * (AuthProtect k tag) sub) Source # 
type MkLink * ((:>) * (AuthProtect k tag) sub) = MkLink * sub