Skip to content
Browse files

now setting test table via request param

  • Loading branch information...
1 parent b382afc commit 175188fd6f739c3d85c2532ac2191e0a89b3f169 erik committed with Ryuichi Okumura
Showing with 4 additions and 2 deletions.
  1. +4 −2 openid/openid.test.xml
View
6 openid/openid.test.xml
@@ -7,7 +7,9 @@
</meta>
<bindings>
<select produces="JSON">
- <inputs></inputs>
+ <inputs>
+ <key id="tableUri" type="xs:string" paramType="variable"/>
+ </inputs>
<execute><![CDATA[
//js utils
@@ -25,7 +27,7 @@
}
//test data
- var tableUri = 'http://github.com/erikeldridge/yql-tables/raw/master/openid/openid.xml';
+ tableUri = tableUri || 'http://github.com/erikeldridge/yql-tables/raw/master/openid/openid.xml';
var validReturnTo = 'http://test.erikeldridge.com/yql/openid/example.verify.html';
var validAssocJson = '{"mac_key":"vN5O9I0A7Fxr1192Amq7KGK4UZA=","ns":"http","assoc_handle":"Ouk8a7L.fB0EafenhPselqapymq.r8640Jv0.H8WSdpn8SzKb3uj_cDb4GIIgqB4WuXD1XgYvkgkAagNd3pl.oY6Iqcw4bMJAwkTVeUGCFcsV1XLgqzoJ73_ff4yQ0k-","session_type":"no-encryption","expires_in":"14400","assoc_type":"HMAC-SHA1"}';
var validAssertJson = '{"openid.ns":"http://specs.openid.net/auth/2.0","openid.mode":"id_res","openid.return_to":"http://test.erikeldridge.com/yql/openid/example.verify.html","openid.claimed_id":"https://me.yahoo.com/pandayak#415d4","openid.identity":"https://me.yahoo.com/pandayak","openid.assoc_handle":"Ouk8a7L.fB0EafenhPselqapymq.r8640Jv0.H8WSdpn8SzKb3uj_cDb4GIIgqB4WuXD1XgYvkgkAagNd3pl.oY6Iqcw4bMJAwkTVeUGCFcsV1XLgqzoJ73_ff4yQ0k-","openid.realm":"http://test.erikeldridge.com","openid.ns.oauth":"http://specs.openid.net/extensions/oauth/1.0","domain_unverified":"1","openid.response_nonce":"2010-04-02T05:00:20ZkGjAgp1R4lWRkAShqjBw1mhB0qwtQXVVQw--","openid.signed":"assoc_handle,claimed_id,identity,mode,ns,op_endpoint,response_nonce,return_to,signed,pape.auth_level.nist,ns.oauth,oauth.request_token","openid.op_endpoint":"https://open.login.yahooapis.com/openid/op/auth","openid.pape.auth_level.nist":"0","openid.oauth.request_token":"YhHa7LVu3AaRg4JNuo_XtLmKxPOxVkjt.hHsKeGol6uFZ_6lLfauZ5cHXiN4L9pxkg3AyXuMBHj0XHcB729G6Cjf8.xnnCH7iDRK8jBPTq5LQ8bna1P23jek.7nzy7evNVum9.ps80Q78DZN4MsHPXZ5bjGW2DUUAX9u0yvmBBRAEfRDfx2gIP6d8gFkX4qwdQlWa20bSZxxaSp4i3U-","openid.sig":"naLpyZxZfA/g3mJxzgDLduYtC+A="}';

0 comments on commit 175188f

Please sign in to comment.
Something went wrong with that request. Please try again.