<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: this._initAuthentication is not a function in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/this-initauthentication-is-not-a-function/m-p/326049#M13050</link>
    <description>&lt;P&gt;Now I don't get any error but the object client has always it's connected property set to false. I'm sure that it's not connected because even if I put a wrong password I have the same client object as return. Furthermore, every request I try to do like the example below gives null as return.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jun 2015 18:44:12 GMT</pubDate>
    <dc:creator>Robson_</dc:creator>
    <dc:date>2015-06-19T18:44:12Z</dc:date>
    <item>
      <title>this._initAuthentication is not a function</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/this-initauthentication-is-not-a-function/m-p/326047#M13048</link>
      <description>&lt;P&gt;It's my first time using nuxeo.js. I added nuxeo.js to the asp.net mvc application Scripts folder and made the reference to it in my .aspx page head section. I'm trying to access nuxeo server with this code:&lt;/P&gt;
&lt;P&gt;$(document).ready(function () {&lt;BR /&gt;/&amp;gt;
var client = new nuxeo.Client({&lt;BR /&gt;/&amp;gt;&lt;BR /&gt; /&amp;gt;
baseURL: 'http://192.168.15.128/nuxeo',&lt;BR /&gt;/&amp;gt;
restPath: 'api/v1',&lt;BR /&gt;/&amp;gt;
automationPath: 'site/api/v1/automation',&lt;BR /&gt;/&amp;gt;
auth: {&lt;BR /&gt;/&amp;gt;
method: 'basic',&lt;BR /&gt;/&amp;gt;
username: 'myusername',&lt;BR /&gt;/&amp;gt;
password: 'mypassword'&lt;BR /&gt;/&amp;gt;
},&lt;BR /&gt;/&amp;gt;
timeout: 30000       &lt;BR /&gt;/&amp;gt;
})&lt;BR /&gt;/&amp;gt;
});&lt;BR /&gt;/&amp;gt;&lt;/P&gt;
&lt;P&gt;My browser console error list always get the message: "Uncaught TypeError: this._initAuthentication is not a function"&lt;/P&gt;
&lt;P&gt;Debugging I realized that in line 43 of nuxeo.js we have a call to this._initAuthentication() and I can't find the implementation to this function. I am probably missing something.&lt;/P&gt;
&lt;P&gt;Can anyone give me a help?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2015 20:22:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/this-initauthentication-is-not-a-function/m-p/326047#M13048</guid>
      <dc:creator>Robson_</dc:creator>
      <dc:date>2015-06-12T20:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: this._initAuthentication is not a function</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/this-initauthentication-is-not-a-function/m-p/326048#M13049</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;My bad, I've done a fix.&lt;/P&gt;
&lt;P&gt;You can try to use the updated client: &lt;A href="https://github.com/nuxeo/nuxeo-js-client/blob/master/lib/jquery/nuxeo.js" target="test_blank"&gt;https://github.com/nuxeo/nuxeo-js-client/blob/master/lib/jquery/nuxeo.js&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Will post a new version 0.5.1 to bower (if you're using it).&lt;/P&gt;
&lt;P&gt;Thanks for the report.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2015 20:57:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/this-initauthentication-is-not-a-function/m-p/326048#M13049</guid>
      <dc:creator>Thomas_Roger</dc:creator>
      <dc:date>2015-06-12T20:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: this._initAuthentication is not a function</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/this-initauthentication-is-not-a-function/m-p/326049#M13050</link>
      <description>&lt;P&gt;Now I don't get any error but the object client has always it's connected property set to false. I'm sure that it's not connected because even if I put a wrong password I have the same client object as return. Furthermore, every request I try to do like the example below gives null as return.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2015 18:44:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/this-initauthentication-is-not-a-function/m-p/326049#M13050</guid>
      <dc:creator>Robson_</dc:creator>
      <dc:date>2015-06-19T18:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: this._initAuthentication is not a function</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/this-initauthentication-is-not-a-function/m-p/326050#M13051</link>
      <description>&lt;P&gt;Could you share your whole code? Through a gist for instance.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2015 22:03:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/this-initauthentication-is-not-a-function/m-p/326050#M13051</guid>
      <dc:creator>Thomas_Roger</dc:creator>
      <dc:date>2015-06-19T22:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: this._initAuthentication is not a function</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/this-initauthentication-is-not-a-function/m-p/326051#M13052</link>
      <description>&lt;P&gt;I'm just trying to get any data from the nuxeo server using nuxeo.js in my asp.net MVC application. So my code is exactly this&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2015 16:59:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/this-initauthentication-is-not-a-function/m-p/326051#M13052</guid>
      <dc:creator>Robson_</dc:creator>
      <dc:date>2015-06-22T16:59:37Z</dc:date>
    </item>
  </channel>
</rss>

