<?php
// IF YOU HAVE NOT DONE SO, PLEASE READ THE README FILE FOR DIRECTIONS!!!

/**
 * phpMyID - A standalone, single user, OpenID Identity Provider
 *
 * @package phpMyID
 * @author CJ Niemira <siege (at) siege (dot) org>
 * @copyright 2006-2008
 * @license http://www.gnu.org/licenses/gpl.html GNU Public License
 * @url http://siege.org/projects/phpMyID
 * @version 2
 */


/**
 * User profile
 * @name $profile
 * @global array $GLOBALS['profile']
 */
$GLOBALS['profile'] = array(
	# Basic Config - Required
#	'auth_username'	=> 	'test',
#	'auth_password' =>	'4fc6c4ec34b7c123a1cb2d7648f7ec92', # test

# Not working? Visit this page in a browser and take note of the realm there.
# (It will be auth_realm-somenumber.)
# Regenerate the auth_password hash with this (replacing 119371 with the number from the realm):
# ( read -s X; echo -n "cpovirk:phpMyID-119371:$X" | md5 )
# cpovirk 2016/09/27: currently there is no realm number, just "phpMyID"
# cpovirk 2016/09/27: but even after this fix, i can log in as far as openid is concerned but not get onto stackoverflow, so i've linked that with my gmail account. this is similar to http://meta.stackexchange.com/q/76841
	'auth_username'	=> 	'cpovirk',
	'auth_password' =>	'9a05695006d7782cc258a635fabc620c',

	# Optional Config - Please see README before setting these
#	'microid'	=>	array('mailto:user@site', 'http://delegator'),
#	'pavatar'	=>	'http://your.site.com/path/pavatar.img',

	# Advanced Config - Please see README before setting these
#	'allow_gmp'	=>	false,
#	'allow_test'	=> 	false,
#	'allow_suhosin'	=>	false,
#	'auth_realm'	=>	'phpMyID',
#	'force_bigmath'	=>	false,
	'idp_url'	=>	'http://twofoos.org/openid/MyID.config.php',
#	'lifetime'	=>	1440,
#	'paranoid'	=>	false, # EXPERIMENTAL

	# Debug Config - Please see README before setting these
#	'debug'		=>	false,
#	'logfile'	=>	'/tmp/phpMyID.debug.log',
);

/**
 * Simple Registration Extension
 * @name $sreg
 * @global array $GLOBALS['sreg']
 */
$GLOBALS['sreg'] = array (
#	'nickname'		=> 'Joe',
#	'email'			=> 'joe@example.com',
#	'fullname'		=> 'Joe Example',
#	'dob'			=> '1970-10-31',
#	'gender'		=> 'M',
#	'postcode'		=> '22000',
#	'country'		=> 'US',
#	'language'		=> 'en',
#	'timezone'		=> 'America/New_York'
);

require('MyID.php');
?>
