summaryrefslogtreecommitdiff
path: root/modules/openid/openid.schema
blob: 258756b27a704d4f19dac554eb46ecc2c274dab4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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, 'not null' => TRUE),
      '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;
}