function openid_test_endpoint in Drupal 7
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 modules/
openid/ tests/ openid_test.module - Implements hook_menu().
File
- modules/
openid/ tests/ openid_test.module, line 222 - Dummy OpenID Provider used with SimpleTest.
Code
function openid_test_endpoint() {
switch ($_REQUEST['openid_mode']) {
case 'associate':
_openid_test_endpoint_associate();
break;
case 'checkid_setup':
_openid_test_endpoint_authenticate();
break;
}
}