# File lib/openid/filestore.rb, line 20 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.ensure_dir(@nonce_dir) self.ensure_dir(@association_dir) self.ensure_dir(@temp_dir) self.ensure_dir(File.dirname(@auth_key_name)) end