# File lib/openid/filestore.rb, line 19 def initialize(directory) p_dir = Pathname.new(directory) @nonce_dir = p_dir.join('nonces') @association_dir = p_dir.join('associations') @temp_dir = p_dir.join('temp') @auth_key_name = p_dir.join('auth_key') @max_nonce_age = 6 * 60 * 60 self.ensureDir(@nonce_dir) self.ensureDir(@association_dir) self.ensureDir(@temp_dir) self.ensureDir(File.dirname(@auth_key_name)) end