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

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

Network.OpenID.Association.Manager

Description

 

Synopsis

Documentation

class AssociationManager am whereSource

Manage pairs of Providers and Associations.

Methods

findAssociation :: am -> Provider -> Maybe AssociationSource

Find an association.

addAssociation :: am -> UTCTime -> Provider -> Association -> amSource

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

expire :: am -> UTCTime -> amSource

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