function openid_test_endpoint

Menu callback; OpenID Provider Endpoint.

It accepts "associate" requests directly from the Relying Party, and "checkid_setup" requests made by the user's browser based on HTTP redirects (in OpenID 1) or HTML forms (in OpenID 2) generated by the Relying Party.

1 string reference to 'openid_test_endpoint'
openid_test_menu in drupal/core/modules/openid/tests/openid_test.module
Implements hook_menu().

File

drupal/core/modules/openid/tests/openid_test.module, line 215
Dummy OpenID Provider used with SimpleTest.

Code

function openid_test_endpoint() {
  switch ($_REQUEST['openid_mode']) {
    case 'associate':
      return _openid_test_endpoint_associate();
    case 'checkid_setup':
      return _openid_test_endpoint_authenticate();
  }
}