openid-0.1: An implementation of the OpenID-2.0 spec.Source codeContentsIndex
Network.OpenID.Types
StabilityPortability :
MaintainerTrevor Elliott <trevor@geekgateway.com>
Description
Synopsis
data AssocType
= HmacSha1
| HmacSha256
data SessionType
= NoEncryption
| DhSha1
| DhSha256
data Association = Association {
assocExpiresIn :: Int
assocHandle :: String
assocMacKey :: [Word8]
assocType :: AssocType
}
type Params = [(String, String)]
type ReturnTo = String
type Realm = String
type Resolver m = Request -> m (Either ConnError Response)
data Provider
parseProvider :: String -> Maybe Provider
showProvider :: Provider -> String
providerURI :: Provider -> URI
modifyProvider :: (URI -> URI) -> Provider -> Provider
newtype Identifier = Identifier {
getIdentifier :: String
}
newtype Error = Error String
Documentation
data AssocType Source
Supported association types
Constructors
HmacSha1
HmacSha256
show/hide Instances
data SessionType Source
Session types for association establishment
Constructors
NoEncryption
DhSha1
DhSha256
show/hide Instances
data Association Source
An association with a provider.
Constructors
Association
assocExpiresIn :: Int
assocHandle :: String
assocMacKey :: [Word8]
assocType :: AssocType
show/hide Instances
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 -> m (Either ConnError Response)Source
A way to resolve an HTTP request
data Provider Source
An OpenID provider.
show/hide Instances
parseProvider :: String -> Maybe ProviderSource
Parse a provider
showProvider :: Provider -> StringSource
Show a provider
providerURI :: Provider -> URISource
modifyProvider :: (URI -> URI) -> Provider -> ProviderSource
Modify the URI in a provider
newtype Identifier Source
A valid OpenID identifier.
Constructors
Identifier
getIdentifier :: String
show/hide Instances
newtype Error Source
Errors
Constructors
Error String
show/hide Instances
Produced by Haddock version 2.4.1