servant-0.14: 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) a :: * Source #

Methods

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

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