summaryrefslogtreecommitdiffstats
path: root/Auth/OpenID.php
diff options
context:
space:
mode:
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