hsoz-0.0.1.0: Iron, Hawk, Oz: Web auth protocols

Safe HaskellNone
LanguageHaskell2010

Network.Hawk.Internal

Description

These functions are intended only to be used internally by this package. No API stability is guaranteed for this module. If you see functions here which you believe should be promoted to a stable API, please contact the author.

Synopsis

Documentation

calculateMac :: HawkAlgoCls a => a -> Key -> HawkType -> HeaderArtifacts -> ByteString Source #

Generates a hawk.1. string with the given attributes, calculates its HMAC, and returns the Base64 encoded hash.

hServerAuthorization :: HeaderName Source #

The name of the authorization header which the server provides to the client.

type Authorization = ByteString Source #

The value of an Authorization header.