Lucu-0.5: HTTP Daemonic Library

Network.HTTP.Lucu.Authorization

Description

Manipulation of WWW authorization.

Synopsis

Documentation

data AuthChallenge Source

Authorization challenge to be sent to client with "WWW-Authenticate" header. See Network.HTTP.Lucu.Resource.setWWWAuthenticate.

data AuthCredential Source

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

type Realm = StringSource

Realm is just a string which must not contain any non-ASCII letters.

type UserID = StringSource

UserID is just a string which must not contain colon and any non-ASCII letters.

type Password = StringSource

Password is just a string which must not contain any non-ASCII letters.