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