Some more XRDS fixes. With this and the previous commit, remote subs seem to work. Otherwise they don't.
This commit is contained in:
parent
6e601c1171
commit
707efadbd4
@ -97,22 +97,18 @@ class XrdsAction extends Action
|
|||||||
$xrdsOutputter->element('Type', null, 'xri://$xrds*simple');
|
$xrdsOutputter->element('Type', null, 'xri://$xrds*simple');
|
||||||
$xrdsOutputter->showXrdsService(OAUTH_ENDPOINT_REQUEST,
|
$xrdsOutputter->showXrdsService(OAUTH_ENDPOINT_REQUEST,
|
||||||
common_local_url('requesttoken'),
|
common_local_url('requesttoken'),
|
||||||
array(OAUTH_AUTH_HEADER, OAUTH_POST_BODY, OAUTH_HMAC_SHA1));
|
array(OAUTH_AUTH_HEADER, OAUTH_POST_BODY, OAUTH_HMAC_SHA1),
|
||||||
|
null,
|
||||||
|
$this->user->uri);
|
||||||
$xrdsOutputter->showXrdsService( OAUTH_ENDPOINT_AUTHORIZE,
|
$xrdsOutputter->showXrdsService( OAUTH_ENDPOINT_AUTHORIZE,
|
||||||
common_local_url('userauthorization'),
|
common_local_url('userauthorization'),
|
||||||
array(OAUTH_AUTH_HEADER, OAUTH_POST_BODY, OAUTH_HMAC_SHA1),
|
array(OAUTH_AUTH_HEADER, OAUTH_POST_BODY, OAUTH_HMAC_SHA1));
|
||||||
null,
|
|
||||||
$this->user->getIdentifierURI());
|
|
||||||
$xrdsOutputter->showXrdsService(OAUTH_ENDPOINT_ACCESS,
|
$xrdsOutputter->showXrdsService(OAUTH_ENDPOINT_ACCESS,
|
||||||
common_local_url('accesstoken'),
|
common_local_url('accesstoken'),
|
||||||
array(OAUTH_AUTH_HEADER, OAUTH_POST_BODY, OAUTH_HMAC_SHA1),
|
array(OAUTH_AUTH_HEADER, OAUTH_POST_BODY, OAUTH_HMAC_SHA1));
|
||||||
null,
|
|
||||||
$this->user->getIdentifierURI());
|
|
||||||
$xrdsOutputter->showXrdsService(OAUTH_ENDPOINT_RESOURCE,
|
$xrdsOutputter->showXrdsService(OAUTH_ENDPOINT_RESOURCE,
|
||||||
null,
|
null,
|
||||||
array(OAUTH_AUTH_HEADER, OAUTH_POST_BODY, OAUTH_HMAC_SHA1),
|
array(OAUTH_AUTH_HEADER, OAUTH_POST_BODY, OAUTH_HMAC_SHA1));
|
||||||
null,
|
|
||||||
$this->user->getIdentifierURI());
|
|
||||||
$xrdsOutputter->elementEnd('XRD');
|
$xrdsOutputter->elementEnd('XRD');
|
||||||
|
|
||||||
//omb
|
//omb
|
||||||
|
Loading…
Reference in New Issue
Block a user