Copyright | (c) Trevor Elliott 2008 |
---|---|
License | BSD3 |
Maintainer | Trevor Elliott <trevor@geekgateway.com> |
Stability | Portability : |
Safe Haskell | None |
Language | Haskell98 |
Network.OpenID.Types
Description
- data AssocType
- data SessionType
- 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 String -> m (Either ConnError (Response String))
- data Provider
- parseProvider :: String -> Maybe Provider
- showProvider :: Provider -> String
- providerURI :: Provider -> URI
- modifyProvider :: (URI -> URI) -> Provider -> Provider
- newtype Identifier = Identifier {}
- newtype Error = Error String
- assocString :: AssocType -> String
Documentation
Supported association types
Constructors
HmacSha1 | |
HmacSha256 |
data SessionType Source #
Session types for association establishment
Constructors
NoEncryption | |
DhSha1 | |
DhSha256 |
Instances
data Association Source #
An association with a provider.
Constructors
Association | |
Fields
|
Instances
type Resolver m = Request String -> m (Either ConnError (Response String)) Source #
A way to resolve an HTTP request
showProvider :: Provider -> String Source #
Show a provider
providerURI :: Provider -> URI Source #
Errors
assocString :: AssocType -> String Source #