As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hello,
I am looking for code samples or examples of using TokenAuthInterceptor instead of BasicAuthInterceptor.
NuxeoClient nuxeoClient = new NuxeoClient.Builder() .url(url) .authentication("Administrator", "Administrator") .connect();
Thank you.
Documentation about authentication can be found there. Here below an example:
NuxeoClient nuxeoClient = new NuxeoClient.Builder() .url(url) .authentication(new TokenAuthInterceptor("YOUR_TOKEN")) .connect();
Note: We're currently working on improving this documentation.
Do you have more details in how to build the token (the format, the hash function) ?
How the token will be interpreted by the Nuxeo Client ?
Thank you!
Nuxeo Java Client doesn't handle handshake phase. You first need to acquire a token by following this [documentation](https