function openid_test_html_openid1

Menu callback; regular HTML page with OpenID 1.0 <link> element.

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

File

modules/openid/tests/openid_test.module, line 200

Code

function openid_test_html_openid1() {
    drupal_add_html_head_link(array(
        'rel' => 'openid.server',
        'href' => url('openid-test/endpoint', array(
            'absolute' => TRUE,
        )),
    ));
    drupal_add_html_head_link(array(
        'rel' => 'openid.delegate',
        'href' => 'http://example.com/html-openid1',
    ));
    return t('This page includes a &lt;link rel=...&gt; element containing the URL of an OpenID Provider Endpoint.');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.