servant-hmac-auth-0.0.0: Servant authentication with HMAC

Safe HaskellNone
LanguageHaskell2010

Servant.Auth.Hmac.Server

Description

Servant server authentication.

Documentation

type HmacAuth = AuthProtect "hmac-auth" Source #

hmacAuthServerContext Source #

Arguments

:: (SecretKey -> ByteString -> Signature)

Signing function

-> SecretKey

Secret key that was used for signing Request

-> HmacAuthContext 

hmacAuthHandler Source #

Arguments

:: (SecretKey -> ByteString -> Signature)

Signing function

-> SecretKey

Secret key that was used for signing Request

-> AuthHandler Request ()