fix typo in xrds
I'd spelled "ENDPOINT" as "ENDPONT" in the code. whoops! darcs-hash:20080526131953-84dde-95770739bc0c5ea45efbc8b831c11448ea5d4b32.gz
This commit is contained in:
parent
92af6565b6
commit
cf35ebdc18
@ -59,24 +59,24 @@ class XrdsAction extends Action {
|
||||
|
||||
common_element('Type', NULL, 'xri://$xrds*simple');
|
||||
|
||||
$this->show_service(OAUTH_ENDPONT_REQUEST,
|
||||
$this->show_service(OAUTH_ENDPOINT_REQUEST,
|
||||
common_local_url('requesttoken'),
|
||||
array(OAUTH_AUTH_HEADER, OAUTH_POST_BODY),
|
||||
array(OAUTH_HMAC_SHA1),
|
||||
$user->uri);
|
||||
|
||||
$this->show_service(OAUTH_ENDPONT_AUTHORIZE,
|
||||
$this->show_service(OAUTH_ENDPOINT_AUTHORIZE,
|
||||
common_local_url('userauthorization'),
|
||||
array(OAUTH_AUTH_HEADER, OAUTH_POST_BODY),
|
||||
array(OAUTH_HMAC_SHA1),
|
||||
$user->uri);
|
||||
|
||||
$this->show_service(OAUTH_ENDPONT_ACCESS,
|
||||
$this->show_service(OAUTH_ENDPOINT_ACCESS,
|
||||
common_local_url('accesstoken'),
|
||||
array(OAUTH_AUTH_HEADER, OAUTH_POST_BODY),
|
||||
array(OAUTH_HMAC_SHA1));
|
||||
|
||||
$this->show_service(OAUTH_ENDPONT_RESOURCE,
|
||||
$this->show_service(OAUTH_ENDPOINT_RESOURCE,
|
||||
NULL,
|
||||
array(OAUTH_AUTH_HEADER, OAUTH_POST_BODY),
|
||||
array(OAUTH_HMAC_SHA1));
|
||||
@ -92,10 +92,10 @@ class XrdsAction extends Action {
|
||||
|
||||
common_element('Type', NULL, 'xri://$xrds*simple');
|
||||
|
||||
$this->show_service(OMB_ENDPONT_POSTNOTICE,
|
||||
$this->show_service(OMB_ENDPOINT_POSTNOTICE,
|
||||
common_local_url('postnotice'));
|
||||
|
||||
$this->show_service(OMB_ENDPONT_UPDATEPROFILE,
|
||||
$this->show_service(OMB_ENDPOINT_UPDATEPROFILE,
|
||||
common_local_url('updateprofile'));
|
||||
|
||||
common_element_end('XRD');
|
||||
|
Loading…
Reference in New Issue
Block a user