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

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

Network.OpenID.Association.Manager

Description

 

Synopsis

Documentation

class AssociationManager am where Source #

Manage pairs of Providers and Associations.

Methods

findAssociation :: am -> Provider -> Maybe Association Source #

Find an association.

addAssociation :: am -> UTCTime -> Provider -> Association -> am Source #

Add a new association, and set its expiration to be relative to the "now" parameter passed in.

expire :: am -> UTCTime -> am Source #

Expire associations in the manager that are older than the supplied "now" parameter.

exportAssociations :: am -> [(String, UTCTime, Association)] Source #

Export all associations, and their expirations