Class CloudKit::OpenIDStore

  1. lib/cloudkit/openid_store.rb
Parent: OpenID::Store::Interface

An OpenIDStore provides the interface expected by the ruby-openid gem, mapping it to a CloudKit::Store instance.

Methods

public class

  1. new

public instance

  1. version

Public class methods

new ()

Initialize an OpenIDStore.

[show source]
    # File lib/cloudkit/openid_store.rb, line 10
10:     def initialize
11:       unless @@store
12:         @@store = Store.new(
13:           :collections => [:cloudkit_openid_associations, :cloudkit_openid_nonces])
14:       end
15:     end

Public instance methods

version ()

Return the version number for this store.

[show source]
    # File lib/cloudkit/openid_store.rb, line 90
90:     def version; 1; end