Stability | Portability : |
---|---|
Maintainer | Trevor Elliott <trevor@geekgateway.com> |
Safe Haskell | None |
Network.OpenID.Types
Description
- 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 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
parseProvider :: String -> Maybe ProviderSource
Parse a provider
showProvider :: Provider -> StringSource
Show a provider
providerURI :: Provider -> URISource
Errors
assocString :: AssocType -> StringSource