Lucu-1.0: Embedded HTTP Server

Network.HTTP.Lucu.Authentication

Description

An internal module for HTTP authentication.

Synopsis

Documentation

data AuthChallenge Source

Authentication challenge to be sent to clients with "WWW-Authenticate" header field. See Network.HTTP.Lucu.setWWWAuthenticate.

Constructors

BasicAuthChallenge !Realm 

Instances

Eq AuthChallenge 
ConvertSuccess AuthChallenge Ascii 
ConvertSuccess AuthChallenge AsciiBuilder 
ConvertAttempt AuthChallenge Ascii 
ConvertAttempt AuthChallenge AsciiBuilder 

data AuthCredential Source

Authorization credential to be sent by client with "Authorization" header. See Network.HTTP.Lucu.getAuthorization.

Instances

type Realm = AsciiSource

Realm is just an Ascii string.

type UserID = AsciiSource

UserID is just an Ascii string containing no colons (':').

type Password = AsciiSource

Password is just an Ascii string.