Class: OpenidCouchdbStore::Nonce
- Inherits:
-
CouchRest::Model::Base
- Object
- CouchRest::Model::Base
- OpenidCouchdbStore::Nonce
- Defined in:
- lib/openid_couchdb_store.rb
Class Method Summary collapse
Class Method Details
.expired ⇒ Object
54 55 56 |
# File 'lib/openid_couchdb_store.rb', line 54 def self.expired (:endkey => Time.now.to_i) end |
.first_nonce(server_url, timestamp, salt) ⇒ Object
50 51 52 |
# File 'lib/openid_couchdb_store.rb', line 50 def self.first_nonce(server_url,,salt) (:key => "#{server_url}&#{salt}&#{}").first end |