Class OpenID::Server::Signatory
In: lib/openid/server.rb
Parent: Object

I sign things.

I also check signatures.

All my state is encapsulated in a store, which means I‘m not generally pickleable but I am easy to reconstruct.



secret_lifetime  [RW]  The number of seconds a secret remains valid. Defaults to 14 days.
store  [RW] 

Public Class methods

Create a new Signatory. store is The back-end where my associations are stored.

Public Instance methods

Get the association with the specified handle.

Invalidates the association with the given handle.

Sign a response.

I take an OpenIDResponse, create a signature for everything in its signed list, and return a new copy of the response object with that signature included.

Verify that the signature for some data is valid.