summaryrefslogtreecommitdiffstats
path: root/Auth/OpenID.php
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2006-02-14 18:59:36 +0000
committertailor <cygnus@janrain.com>2006-02-14 18:59:36 +0000
commitb7229617cefe6f02354bf69a4e4f1bd1b92ef253 (patch)
tree0ff28e65db170e350c26bfa25cb603f933b83214 /Auth/OpenID.php
parent1f0b903e2df56ba3c671261ef7c13a002c46932c (diff)
downloadphp-openid-b7229617cefe6f02354bf69a4e4f1bd1b92ef253.zip
php-openid-b7229617cefe6f02354bf69a4e4f1bd1b92ef253.tar.gz
php-openid-b7229617cefe6f02354bf69a4e4f1bd1b92ef253.tar.bz2
[project @ Moved letter/digit/punct constants from Util.php to OpenID.php]
Diffstat (limited to 'Auth/OpenID.php')
-rw-r--r--Auth/OpenID.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/Auth/OpenID.php b/Auth/OpenID.php
index 9f6a4b8..67104a3 100644
--- a/Auth/OpenID.php
+++ b/Auth/OpenID.php
@@ -84,6 +84,18 @@ define('Auth_OpenID_DO_AUTH', 'do_auth');
define('Auth_OpenID_DO_ABOUT', 'do_about');
/**
+ * Defines for regexes and format checking.
+ */
+define('Auth_OpenID_letters',
+ "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ");
+
+define('Auth_OpenID_digits',
+ "0123456789");
+
+define('Auth_OpenID_punct',
+ "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~");
+
+/**
* The OpenID utility function class.
*
* @package OpenID