openid-0.2.1.0: An implementation of the OpenID-2.0 spec.

Copyright(c) Trevor Elliott 2008
LicenseBSD3
MaintainerTrevor Elliott <trevor@geekgateway.com>
StabilityPortability :
Safe HaskellNone
LanguageHaskell98

Network.OpenID.Types

Description

 

Synopsis

Documentation

type Params = [(String, String)] Source #

Parameter lists for communication with the server

type ReturnTo = String Source #

A return to path

type Realm = String Source #

A realm of uris for a provider to inform a user about

type Resolver m = Request String -> m (Either ConnError (Response String)) Source #

A way to resolve an HTTP request

data Provider Source #

An OpenID provider.

parseProvider :: String -> Maybe Provider Source #

Parse a provider

showProvider :: Provider -> String Source #

Show a provider

modifyProvider :: (URI -> URI) -> Provider -> Provider Source #

Modify the URI in a provider

newtype Error Source #

Errors

Constructors

Error String 

Instances

Show Error Source # 

Methods

showsPrec :: Int -> Error -> ShowS #

show :: Error -> String #

showList :: [Error] -> ShowS #

Monad m => ExceptionM (Assoc m) Error # 

Methods

raise :: Error -> Assoc m a #