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

Safe HaskellSafe
LanguageHaskell2010

Servant.API.Experimental.Auth

Synopsis

Documentation

data AuthProtect tag 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 k1 sub => HasLink * ((:>) k1 * (AuthProtect k tag) sub) Source # 

Associated Types

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

Methods

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

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