summaryrefslogtreecommitdiff
path: root/modules/openid/openid.schema
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-06-18 16:09:39 +0000
committerDries Buytaert <dries@buytaert.net>2007-06-18 16:09:39 +0000
commitaa308028aa570d15d3abf9c7679d7de16019b78b (patch)
treec7f87e5423007f088feb99149ebf2d16752631be /modules/openid/openid.schema
parent8f9298577e7db9af6d34c3d69bd633a5c7e3de74 (diff)
downloadbrdo-aa308028aa570d15d3abf9c7679d7de16019b78b.tar.gz
brdo-aa308028aa570d15d3abf9c7679d7de16019b78b.tar.bz2
- Patch #131026 by James et al: OpenID client support for Drupal!
Let this be the day where we help revolutionize the online society, and the way websites and web services interoperate. Or something.
Diffstat (limited to 'modules/openid/openid.schema')
-rw-r--r--modules/openid/openid.schema19
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/openid/openid.schema b/modules/openid/openid.schema
new file mode 100644
index 000000000..668b8b8ec
--- /dev/null
+++ b/modules/openid/openid.schema
@@ -0,0 +1,19 @@
+<?php
+// $Id$
+
+function openid_schema() {
+ $schema['openid_association'] = array(
+ 'fields' => array(
+ 'idp_endpoint_uri' => array('type' => 'varchar', 'length' => 255),
+ 'assoc_handle' => array('type' => 'varchar', 'length' => 255),
+ 'assoc_type' => array('type' => 'varchar', 'length' => 32),
+ 'session_type' => array('type' => 'varchar', 'length' => 32),
+ 'mac_key' => array('type' => 'varchar', 'length' => 255),
+ 'created' => array('type' => 'int', 'not null' => TRUE, 'default' => 0),
+ 'expires_in' => array('type' => 'int', 'not null' => TRUE, 'default' => 0),
+ ),
+ 'primary key' => array('assoc_handle'),
+ );
+
+ return $schema;
+} \ No newline at end of file