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

StabilityPortability :
MaintainerTrevor Elliott <trevor@geekgateway.com>
Safe HaskellNone

Network.OpenID.Types

Description

 

Synopsis

Documentation

data AssocType Source

Supported association types

Constructors

HmacSha1 
HmacSha256 

data SessionType Source

Session types for association establishment

Constructors

NoEncryption 
DhSha1 
DhSha256 

data Association Source

An association with a provider.

type Params = [(String, String)]Source

Parameter lists for communication with the server

type ReturnTo = StringSource

A return to path

type Realm = StringSource

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.

Instances

parseProvider :: String -> Maybe ProviderSource

Parse a provider

showProvider :: Provider -> StringSource

Show a provider

modifyProvider :: (URI -> URI) -> Provider -> ProviderSource

Modify the URI in a provider

newtype Identifier Source

A valid OpenID identifier.

Constructors

Identifier 

newtype Error Source

Errors

Constructors

Error String 

Instances