Page tree
Skip to end of metadata
Go to start of metadata

If connecting as an application, you will need to register an app and make a note of the app key and app secret.The WWClient can be instantiated by calling the static method WWClient.buildClientApplicationAccess(appId, appSecret, authenticationEndpoint). Once built, the WWClient can be authenticated. Once authenticated, all relevant Watson Work Services calls can be made.

Sample Code Block
    @Test(enabled = true)
    @Parameters({ "appId", "appSecret" })
    public void testGetSpacesAsApp(String appId, String appSecret) throws UnsupportedEncodingException, WWException {
        WWClient client = WWClient.buildClientApplicationAccess(appId, appSecret, new WWAuthenticationEndpoint());
        assert !client.isAuthenticated();
        client.authenticate();
        assert client.isAuthenticated();

        List<? extends Space> spaces = client.getSpaces();
        assert (spaces.size() > 0);
    } 

Authentication as an application returns an AppToken which is passed to the authenticationResult property of the WWClient. This includes setting the expiry date for authentication. Subsequent calls using the same WWClient object will check whether the expiry date has passed, in which case it will re-authenticate.

When authenticating as an application, there is no refresh token, so no need to store the AppToken.

32 Comments

  1. Anonymous

    Looking  for someone write my assignment  here are Expert assignment helpers well efficient and  capable of creating unique assignments for college or university students all across the globe.Assignment Help is a term which is best for students help, they can easily get help for their online assignment help.Provide best all Assignment Help to the student at cheapest cost.

  2. Anonymous

    Try using header ("REFRESH: $delay;"); command in client.isAuthenticated(); parameters. If still, it does not give refresh token then you need a different server or newer version of visual studio. There can be some tutorials online where you can find your solution. For other programming assistance, you can go to Affordable Writing services and select your desired language. 



  3. Anonymous

    Get admission to the token is a credential that can be used by an application to get Paper Writing Help admission to an API. Get admission to tokens can be either an opaque string or a JSON internet token. They tell the API that the bearer of the token has been legal to get admission to the API and perform particular moves targeted through the scope that has been granted.

  4. Anonymous

    A high-standard post with all imperative information about Assignment Help UK services. Looking forward to availing the premium services.

  5. Anonymous

    Run is called to begin a WPF application. In the event that you characterize your Application using markup, or markup and code-behind, Run will be called certainly. However, in the event that you characterize your Pay Someone To Do My Assignment Application using the code, you should expressly call run.

  6. Anonymous

    Hello, every one i would like to ask some impotent issue my online store live in wordpress platform problem is it, every day show this massge.

    "The following plugins have new versions available. Check the ones you want to update and then click “Update Plugins" but i am not developer before i had click update the my website page collapse then i had pay for developer he was fixed all problem now what should i do please give a best idea i will resolve this issue. 

  7. Anonymous

    There are so many Programming help website to help you. It is important to choose the best one among the many. Before choosing the one go for that website reviews first and then check the website like their services, prices, discounts, website interface, and everything. Go through their samples that how they write so, you can understand the level of their experts. 

    1. You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.
  8. Anonymous

    If you are facing trouble to write homework. Don’t worry; we are here to help you. We provide the best homework helper to write your work. Our homework helpers are well-versed with all the academic topics and deliver great writing for the students.

  9. Anonymous

    Get assignment help Auckland from students assignment help.com in your Marketing assignment because we know that in Marketing stream, subjects are so tough and it is not easy to make an assignment without guidance.

  10. Anonymous

    Excellent and nice post. It will beneficial for everyone. Thanks for sharing such a wonderful post. Avail No 1 Custom essay writing Help UK from certified PhD writers. It is extremely helpful for me. You can email us at info@ukdissertationhelp.co.uk or Phone Number - 020 8144 9988

  11. Anonymous

    The textual content is a part of the sphere of better education and indigenous peoples that during current years have become seen inside the Pay Someone To Do Your Homework debate on methods to produce understanding and the significance of getting better silenced voice sin the approaches of indigenous professionalization.

  12. Anonymous

    Assignment help online is one where the pool of information is spread all through the world. In this, every single bit of points are talked about by our specialists in complete consideration. Click here Java Assignment Help


  13. Anonymous

    StudentsAssignmentHelp has Melbourne expert writers that assist you in your assignment writing on assignment help Melbourne service. Students can take advantage of our marvellous assignment help services in Melbourne.

  14. Anonymous

    Singapore Translators provides the most excellent CERTIFICATE TRANSLATION SERVICES SINGAPORE to all of our clients. Some of the methods we use are the service of highly skilled native interpreters who ensure that the translation is done without losing the background ideas of the translation.

  15. Anonymous

    Singapore Translators provides the most excellent CERTIFICATE TRANSLATION SERVICES SINGAPORE to all of our clients. Some of the methods we use are the service of highly skilled native interpreters who ensure that the translation is done without losing the background ideas of the translation.

  16. Anonymous

    If you want to know more about the need of organizational management and resolve your queries related to the topic you can take help from Assignment Help online.

  17. Anonymous

    A static method operates without an associate of the class it belongs to. Normal methods operate on a single member of the class they belong to. Write my Assignment for me

  18. Anonymous

    Non-static methods belong to individual objects. By that, I mean they nearly always affect the state of a particular object. National Enterprise Systems Scams

  19. Anonymous

    The essence of educational papers is probable challenge writing and whether it’s an essay, time period paper or research paper that you as a scholar want to hand over to your academic institution, it’s a specialised form of educational writing that entails huge research, tutorial knowledge, and content material engineering capabilities. Assignment writing services supply Online Assignment Help, genuine assignments with zero error and no plagiarism. The challenge help is turning into popular among the college students day through day. The top project provides assist web sites Offer exceptional offerings to these college students who are going through problems in finishing their assignments. Assignments can be as simple as growing essays on various subjects such as sociology, environmental science, technological advancement and biological sciences to more various and difficult tutorial papers such as lookup papers and dissertations that require a lot to perform problematic research and analytical reasoning in order to create relevant content. This might be a hard venture to handle, but hiring the professional task writing services of a well-reputed company can supply you Online Assignment Help to remain victorious at the end. Online assignment writings supply high-quality and informative assignments on nearly all subjects that can make you end stressful about your assignment writing difficulties. Assignment writing offerings intention at presenting finest assignments that make certain your tutorial success. 

  20. Anonymous

    Don't know how to write a critique article should look like? Take a look here for cool examples https://writer-elite.com/article-critique-writing/ or you can order a custom paper written especially for you

  21. Anonymous

    Your blog is very nice thank you for this wonderful information I like very much for this article. Get online Assignment help in Australia. We have a dedicated writer team they help all your queries.

    <a href="https://www.allassignmenthelp.com/my-assignment-help.html">My Assignment Help</a>

  22. Anonymous

    Students want  Assignment Help. You don’t know how to get the best and high-quality assignment help. But know don’t worry we have here MyAssignmentHelpAu Providing Best and high- quality Assignment for students. If you have to want then you have simply contact our expert team we have available 24*7. Also, visit our website MyAssignmentHelpAu.

  23. Anonymous

    This is a high level information, who you are giving us, I really appreciate you, to write beautiful article, now good news  assignment help Australia provide assignment making service  through our expert for university students visit here and get better service. https://www.allassignmenthelp.com/au/

  24. Anonymous

    This is a high level information, who you are giving us, I really appreciate you, to write beautiful article, now good news  assignment help Australia  provide assignment making service  through our expert for university students visit here and get better service. 

    assignment help Australia 




  25. Anonymous

    A very high-level post with a piece of knowledgeable information.Thank you for sharing such information if you need any college-level Assignment Help at reliable quality with better work.
    kindly visit us or Whatsapp +61 2 80113341

  26. Anonymous

    A static strategy works without a partner of the class it has a place with. Typical strategies work on a solitary individual from the class they have a place with.

    I am UAE Classified one of the top UAE classified ad company.
  27. Anonymous

    Non-static strategies have a place with individual articles. I mean they almost consistently influence the condition of a specific article.

    Web Design Training Dubai is a training institution that offers its clients the best recommendations and short courses in Dubai for more than five years.
  28. Anonymous

    Non-static strategies have a place with individual articles. I mean they almost consistently influence the condition of a specific article. 

    Web Design Training Dubai is a training institution that offers its clients the best recommendations and short courses in Dubai for more than five years.
  29. Anonymous

    Very informative post I read here. I would like to share this information with my colleague who is senior assignment writer at Quality Assignment   

  30. Anonymous

    Our Nursing assignment help service is prepared by professional nursing writers ensuring we deliver the best quality, Plagiarism Free Nursing assignment solutions that score high grades.

  31. Anonymous

    Procedure works without an accomplice of the class it has a spot with. Run of the mill methodologies chip away at a singular individual from the class they have a spot with.

    We are Mobile App Development in NYC

  32. Anonymous

    Brilliant!How fortunate to see everything you have created. I hope you proceed to do the job tough. We are the best Dubai Cleaning Company, YallaCleaning fills in as the solid, trusted, and disentangled cleaning center for the Middle East cleaning industry.