openid-0.1.1.0: An implementation of the OpenID-2.0 spec.Source codeContentsIndex
Network.OpenID.Association.Manager
StabilityPortability :
MaintainerTrevor Elliott <trevor@geekgateway.com>
Description
Synopsis
class AssociationManager am where
findAssociation :: am -> Provider -> Maybe Association
addAssociation :: am -> UTCTime -> Provider -> Association -> am
expire :: am -> UTCTime -> am
exportAssociations :: am -> [(String, UTCTime, Association)]
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
show/hide Instances
Produced by Haddock version 2.4.1