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

Safe HaskellNone
LanguageHaskell2010

Network.Hawk.Internal.Types

Synopsis

Documentation

type ClientId = Text Source #

Identifies a particular client so that their credentials can be looked up.

type ExtData = ByteString Source #

Extension data included in verification hash. This can be anything or nothing, depending on what the application needs.

data HeaderArtifacts Source #

Struct for attributes which will be encoded in the Hawk Authorization header and included in the verification. The terminology (and spelling) come from the original Javascript implementation of Hawk.

Constructors

HeaderArtifacts 

Fields

type ContentType = ByteString Source #

Value of Content-Type HTTP headers.

data PayloadInfo Source #

Payload data and content type bundled up for convenience.

data MessageAuth Source #

Authorization attributes for a Hawk message. This is generated by message and verified by authenticateMessage.

Constructors

MessageAuth 

Fields

data WwwAuthenticateHeader Source #

Represents the WWW-Authenticate header which the server uses to respond when the client isn't authenticated.

Constructors

WwwAuthenticateHeader 

Fields

data ServerAuthorizationHeader Source #

Represents the Server-Authorization header which the server sends back to the client.

Constructors

ServerAuthorizationHeader 

Fields