summaryrefslogtreecommitdiffstats
path: root/examples/server/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'examples/server/config.php')
-rw-r--r--examples/server/config.php74
1 files changed, 0 insertions, 74 deletions
diff --git a/examples/server/config.php b/examples/server/config.php
deleted file mode 100644
index 28f06ce..0000000
--- a/examples/server/config.php
+++ /dev/null
@@ -1,74 +0,0 @@
-<?php
-/**
- * OpenID server example settings
- *
- * The variables in this file must be customized before you can use
- * the server.
- *
- * @package OpenID.Examples
- * @author JanRain, Inc. <openid@janrain.com>
- * @copyright 2005 Janrain, Inc.
- * @license http://www.gnu.org/copyleft/lesser.html LGPL
- */
-
-/**
- * Set any extra include paths needed to use the library
- */
-//$path_extra = dirname(dirname(dirname(__FILE__)));
-//$path = ini_get('include_path');
-//$path = $path_extra . ':' . $path;
-//ini_set('include_path', $path);
-
-/**
- * The URL for the server.
- *
- * This is the location of server.php. For example:
- *
- * $server_url = 'http://example.com/~user/server.php';
- *
- * This must be a full URL.
- */
-$server_url = false;
-
-/**
- * Initialize an OpenID store
- *
- * @return object $store an instance of OpenID store (see the
- * documentation for how to create one)
- */
-function getOpenIDStore()
-{
- // Example for using a FileStore:
- //
- // require_once "Auth/OpenID/FileStore.php";
- // return new Auth_OpenID_FileStore("/tmp/_server_test_store");
- return false;
-}
-
-/**
- * Users who are allowed to log in to this OpenID server.
- *
- * This is an array from URL to password hash. The URL must include
- * the proper OpenID server information in order to work with this
- * server.
- *
- * This must be set for the server to be usable. If it is not set, no
- * users will be able to log in.
- *
- * Example:
- * $openid_users = array(
- * 'http://joe.example.com/' => sha1('foo')
- * )
- */
-$openid_users = false;
-
-/**
- * Trusted sites is an array of trust roots.
- *
- * Sites in this list will not have to be approved by the user in
- * order to be used. It is OK to leave this value as-is.
- *
- * In a more robust server, this site should be a per-user setting.
- */
-$trusted_sites = array();
-?> \ No newline at end of file