You are here

function miniorange_saml_menu in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 7

File

./miniorange_saml.module, line 12
Module file for miniOrange SAML Module.

Code

function miniorange_saml_menu() {
  $items['admin/config/people/miniorange_saml'] = array(
    'title' => 'miniOrange SAML Login Configuration',
    'description' => 'miniOrange SAML Login Configuration',
    'page callback' => 'drupal_get_form',
    'access arguments' => array(
      'administer site configuration',
    ),
    'page arguments' => array(
      'miniorange_sp_information',
    ),
    'file' => 'miniorange_sp_information.inc',
  );
  $items['admin/config/people/miniorange_saml/idp_setup'] = array(
    'title' => 'SERVICE PROVIDER METADATA',
    'weight' => -8,
    'access arguments' => array(
      'administer site configuration',
    ),
    'page arguments' => array(
      'miniorange_sp_information',
    ),
    'file' => 'miniorange_sp_information.inc',
    'type' => MENU_DEFAULT_LOCAL_TASK,
  );
  $items['admin/config/people/miniorange_saml/sp_setup'] = array(
    'title' => 'SERVICE PROVIDER SETUP',
    'weight' => -7,
    'type' => MENU_LOCAL_TASK,
    'access arguments' => array(
      'administer site configuration',
    ),
    'page arguments' => array(
      'miniorange_saml_idp_setup',
    ),
    'file' => 'miniorange_saml_idp_setup.inc',
  );
  $items['admin/config/people/miniorange_saml/mapping_config'] = array(
    'title' => 'MAPPING',
    'weight' => -6,
    'type' => MENU_LOCAL_TASK,
    'access arguments' => array(
      'administer site configuration',
    ),
    'page arguments' => array(
      'miniorange_saml_mapping',
    ),
    'file' => 'miniorange_saml_mapping.inc',
  );
  $items['admin/config/people/miniorange_saml/signon_settings'] = array(
    'title' => 'SIGNIN',
    'weight' => -5,
    'type' => MENU_LOCAL_TASK,
    'access arguments' => array(
      'administer site configuration',
    ),
    'page arguments' => array(
      'miniorange_saml_login_options',
    ),
    'file' => 'miniorange_saml_login_options.inc',
  );
  $items['admin/config/people/miniorange_saml/export_config'] = array(
    'title' => 'Import/Export',
    'weight' => -4,
    'type' => MENU_LOCAL_TASK,
    'access arguments' => array(
      'administer site configuration',
    ),
    'page arguments' => array(
      'miniorange_saml_export_config',
    ),
    'file' => 'miniorange_saml_export_config.inc',
  );
  $items['admin/config/people/miniorange_saml/custom_cert'] = array(
    'title' => 'CERTIFICATE',
    'weight' => -3,
    'type' => MENU_LOCAL_TASK,
    'access arguments' => array(
      'administer site configuration',
    ),
    'page arguments' => array(
      'miniorange_saml_custom_certficate',
    ),
    'file' => 'miniorange_saml_custom_certficate.inc',
  );
  $items['admin/config/people/miniorange_saml/licensing'] = array(
    'title' => 'UPGRADE',
    'weight' => -2,
    'type' => MENU_LOCAL_TASK,
    'access arguments' => array(
      'administer site configuration',
    ),
    'page arguments' => array(
      'miniorange_saml_licensing',
    ),
    'file' => 'miniorange_saml_licensing.inc',
  );
  $items['admin/config/people/miniorange_saml/customer_setup'] = array(
    'title' => 'REGISTER/LOGIN',
    'weight' => -1,
    'type' => MENU_LOCAL_TASK,
    'access arguments' => array(
      'administer site configuration',
    ),
    'page arguments' => array(
      'miniorange_saml_customer_setup',
    ),
    'file' => 'miniorange_saml_customer_setup.inc',
  );
  $items['admin/config/people/miniorange_saml/fix_attribute'] = array(
    'access callback' => TRUE,
    'page callback' => 'fix_attribute',
    'type' => MENU_CALLBACK,
  );
  $items['samllogin'] = array(
    'access callback' => TRUE,
    'page callback' => 'saml_login',
    'type' => MENU_CALLBACK,
  );
  $items['samlassertion'] = array(
    'access callback' => TRUE,
    'page callback' => 'saml_response',
    'type' => MENU_CALLBACK,
  );
  $items['testConfig'] = array(
    'access arguments' => array(
      'administer site configuration',
    ),
    'page callback' => 'test_configuration',
    'type' => MENU_CALLBACK,
  );
  $items['showSAMLrequest'] = array(
    'access arguments' => array(
      'administer site configuration',
    ),
    'page callback' => 'SAML_Request_Generator',
    'type' => MENU_CALLBACK,
  );
  $items['showSAMLresponse'] = array(
    'access arguments' => array(
      'administer site configuration',
    ),
    'page callback' => 'SAML_Response_Generator',
    'type' => MENU_CALLBACK,
  );
  $items['mosp_metadata'] = array(
    'access callback' => TRUE,
    'page callback' => 'miniorange_saml_metadata',
    'type' => MENU_CALLBACK,
  );
  $items['mosp_metadata_download'] = array(
    'access callback' => TRUE,
    'page callback' => 'miniorange_saml_metadata_download',
    'type' => MENU_CALLBACK,
  );
  $items['register_user'] = array(
    'access callback' => TRUE,
    'page callback' => 'register_user',
    'type' => MENU_CALLBACK,
  );
  $items['close_registration'] = array(
    'access callback' => TRUE,
    'page callback' => 'close_registration',
    'type' => MENU_CALLBACK,
  );
  return $items;
}