servant/servant/src/Servant/Experimental/API/Auth.hs

15 lines
429 B
Haskell
Raw Normal View History

2016-02-17 20:59:58 +01:00
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE KindSignatures #-}
{-# LANGUAGE PolyKinds #-}
module Servant.API.Auth where
import Data.Typeable (Typeable)
-- | A generalized Authentication combinator. Use this if you have a
-- non-standard authentication technique.
--
-- NOTE: THIS API IS EXPERIMENTAL AND SUBJECT TO CHANGE.
2016-02-17 20:59:58 +01:00
data AuthProtect (tag :: k) deriving (Typeable)