Class: OpenID::ServerAssociation
- Inherits:
-
Association
- Object
- Association
- OpenID::ServerAssociation
- Defined in:
- lib/openid/association.rb
Overview
class ConsumerAssociation
Instance Attribute Summary
Attributes inherited from Association
Instance Method Summary collapse
-
#initialize(handle, secret, expiry_off, replace_after_off) ⇒ ServerAssociation
constructor
A new instance of ServerAssociation.
Constructor Details
#initialize(handle, secret, expiry_off, replace_after_off) ⇒ ServerAssociation
Returns a new instance of ServerAssociation.
40 41 42 43 44 45 46 |
# File 'lib/openid/association.rb', line 40 def initialize(handle, secret, expiry_off, replace_after_off) now = Time.now expiry = now + expiry_off replace_after = now + replace_after_off super(handle, secret, expiry, replace_after) @issued = now end |