Safe Haskell | None |
---|---|
Language | Haskell2010 |
Servant server authentication.
Documentation
type HmacAuth = AuthProtect "hmac-auth" Source #
type HmacAuthContextHandlers = '[AuthHandler Request ()] Source #
hmacAuthServerContext Source #
:: (SecretKey -> ByteString -> Signature) | Signing function |
-> SecretKey | Secret key that was used for signing |
-> HmacAuthContext |
:: (SecretKey -> ByteString -> Signature) | Signing function |
-> SecretKey | Secret key that was used for signing |
-> AuthHandler Request () |