<?php
// $Id$

/**
 * @file Openid Attribute Exchange implementation for drupal
 */

/**
 * Implementation ofhook_menu()
 */
function openid_ax_menu() {
  $items['openid/ax'] = array(
    'title' => 'Openid Attribute Exchange',
    'page callback' => 'openid_ax_endpoint',
    'type' => MENU_CALLBACK,
    'file' => 'openid_ax.pages.inc',
    'access callback' => TRUE
    );

  $items['openid/ax/continue'] = array(
    'title' => 'OpenID Attribute Exchange',
    'page callback' => 'openid_ax_continue',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
    'file' => 'openid_ax.pages.inc'
    );

  $items['openid/ax/send'] = array(
    'title' => 'OpenID Attribute Exchange',
    'page callback' => 'openid_ax_send',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
    'file' => 'openid_ax.pages.inc'
    );

  $items['user/%user/persona'] = array(
    'title' => 'OpenID Attribute Exchange Personas',
    'page callback' => 'openid_ax_persona',
    'access callback' => TRUE,
    'type' => MENU_LOCAT_TASK,
    'file' => 'openid_ax.pages.inc'
    );
  $items['openid/ax/openid_sites'] = array(
    'title' => 'anshu prateek',
    'page callback' => 'openid_provider_sites',
    'page arguments' => array(1),
    'access callback' => TRUE,
    'type' => MENU_LOCAL_TASK,
    'file' => 'openid_provider.pages.inc'
  );
  return $items;
}


?>
