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

The basic authentication methods do not provide access to the PeopleToken that is created for the initial authentication. Instead, the relevant values are stored in an AuthenticationResult object in the WWClient. However, there may be scenarios where you want to store the PeopleToken in a database or long-term cache. To do this, additional methods have been added to the WWAuthenticationEndpoint class.

  • WWauthenticationEndpoint.authorizeUserGetToken(String basicAuthApp, String userToken, String url) allows you to perform an initial authentication with the user's token and return the PeopleToken.
  • WWAuthenticationEndpoint.authorizeUserRefreshTokenGetToken(String basicAuthApp, String refreshToken, String scope) allows you to re-authenticate with the refreshToken and return the PeopleToken.

Security Warning

If you are storing the PeopleToken somewhere, ensure you properly encrypt the token because it will include all credentials required to run as the user and re-authenticate when the token expires.

You need to pass the Base64 encoded application credentials to the method. The easiest way to do that is to pass the appId and appSecret to a WWClient object and use the getAppCredentials() method. You can then pass those credentials, the initial user token and the scope to use.

Output Refresh Token
public void getToken() throws WWException, UnsupportedEncodingException {
    WWClient client = WWClient.buildClientUserAccess(null, "5c0bf268-c363-4aae-bbec-e2dbebb2fb72", "vKTpM47ST8ME9gQ9iWt_VjknvMCW", null, null);
    String appCredential = client.getAppCredentials();
    WWAuthenticationEndpoint ep = new WWAuthenticationEndpoint();
    PeopleToken token = ep.authorizeUserGetToken(appCredentials, "ricoZt", ";
    WWClient altClient = WWClient.buildClientUserAccessFromToken("5c0bf268-c363-4aae-bbec-e2dbebb2fb72", "vKTpM47ST8ME9gQ9iWt_VjknvMCW", token);

If you're storing the token, you will need to manually refresh and get the updated PeopleToken when it's due to expire.

    public PeopleToken refresh() throws WWException, UnsupportedEncodingException {
        WWAuthenticationEndpoint ep = new WWAuthenticationEndpoint();
        PeopleToken token = ep.authorizeUserRefreshTokenGetToken(appCredentials, token.getRefresh_Token(), token.getScopeAsString());
        return token;


  1. Anonymous

    Awesome! This is a good change because the users can, now, make it easy. People always want to fix the bugs and this time they will enjoy. We look forward to more enhancements to ease the use. Make it more simple and effective like how cheap essay writers deal with complicated papers. The users do not want to spend more time on searching for tools. They need everything at one place. Thank you for the update and I appreciate the information shared.

  2. Anonymous

    Those are valuable tips for running a user with a stored people Token. If you are searching for people token. You can use a bunch of tips to manage your work by following the above method. Our company Thesis writing Service deals with problems of PhD students who face problems to deal with them.

  3. Anonymous

    Your blog site is so superb. How fortunate to see everything you have created. I hope you proceed to do the job tough. I am the best Dubai Mobile App Developer, well known for mobile application development. I am always working on the latest technology and create Advanced IOS and Android apps.

  4. Anonymous

    What an amazing post you are sharing here. I am really wonder reading this and welcome method of writing an article. You are always sharing some quality content for us like this post, that why we are always like your posts. I hope you are continuing writing fabulous and informative article for us. I would like you to recommend high quality essay content from cheap essay writing service ; it is helpful to students who are studying in higher studies. Once again I thankful to your post. 

  5. Anonymous

    This is an excellent post. Great resource indeed. 



    Solis Hotel 

  6. Anonymous

    For the best Legitimate Custom Coursework Writing Services, find the best Online Coursework Writing Service Provider for all your Custom College Coursework Services

  7. Anonymous

    Plumbers Near Me would give services while keeping in mind the professional norms of this industry. Customers can rely on Plumbers in my Area for all type of services that they may require.

  8. Anonymous

    Brother Printer Setup Number can be dialed if you need some technical assistance for Brother Wireless Printer Setup or any other issues. Reach us anytime.

  9. Anonymous

    Book Flights to Denver. Get Cheap flights to Denver Guaranteed on a huge option of flights deals to Denver. Grab this attractive offer now.

  10. Anonymous

    I just got tired of searching various sites and now, I got what I wanted. Now, I got assistance from this website. I always get positive result from the website. Oh, I forgot something. I am an enthusiastic traveler, working at Southwest Customer Service.  I am working with a motive to support the dreams of travelers. For your next adventure, reach to me and book your seats. I will offer you the best offers.

  11. Anonymous

    At Southwest Airlines Reservations, Reserve your seats at reasonable fares. Make your journey incredible with your family and friends. For your bookings, reach our official site and get to know about airlines, deals, reservations and more. For your future bookings, we always recommend you to visit our official site and book your tickets.

  12. Anonymous

    For all your my journeys, I searched millions of sites and now I got what I wanted. My friend suggested me this site and now, I can book tickets hassle-free for my next journey. I was searching for very hard but, I am relaxed. Thanks to my travel specialist at American Phone Number for reserving my seats.

  13. Anonymous

    Planning a vacation but low on budget? At American Airlines Reservations , you will find exciting offers and deals to make your vacation stress-free and more fun. We offer our travellers with airline tickets discounts, vacation packages, cheap budget-friendly flights Save more by booking your American Airlines Tickets, and have great experience flying with us.

  14. Anonymous

    If you need any guidance with searching discounts or making a reservation or other services, contact our experts at American Airlines Reservations and get quick support. Call at our toll-free number and get connected with the experts at American Airlines Reservations and get your American Airlines Booking in no time.

  15. Anonymous

    According to United Airlines Official Site, the carrier is ready to serve five new domestic routes from its Washington hub. United carries more than 100 million passengers each year and operates over 1500 flights per day.

  16. Anonymous

    You can arrange many more things with us. For instance, having your specific meal, having the bags checked, prior checking and carrying the first two for free and so much more. Just ask us what you need from the experts that are always at your service call us anytime at Air China Airlines Phone Number.

  17. Anonymous

    Our experienced Air China Customer Service team will assist you and through that you would be able to enjoy an experience of flying with Air China like you never did. There are lots of information or perks of flying that the flyers are mostly unaware of. That’s where we come as we will help you in getting best offers for you.

  18. Anonymous

    Enjoy the premium class facility at cheap fares, thanks to American Phone Number. For all your bookings, the agent will offer you the most suitable deal for you and with little changes you will be able to enjoy entire trip with lots of perks and benefits you choose while booking.

  19. Anonymous

    The team Southwest Phone Number are specialist in bookings done for Groups. We ensure your groups gets premium comfort on your travel with affordable deals and that is the reason that makes us the best. Traveling with a group requires everybody to be together! Our experts can book you all at one go and get you all seated together in the aircraft.

  20. Anonymous

    Just give us a call at Air France Contact Number, and book a world-class journey at exceptionally lower rates. Also, get all the information about airlines, flights or anything related to your journey with us. We’re available 24/7 round the clock for you.

  21. Anonymous

    Internet is the best source to search flights and airlines related inquires. But, there are numerous platforms available online that provide both authentic and non-authentic information which creates confusion and trustability issues. Don’t let these confusions causing you headaches; you can get authentic information by calling Japan Contact Number. As our team doesn’t just create deals for you but also compares hundreds of websites and official sources to provide you the most affordable price.

  22. Anonymous

    Hawaiian Contact Number has a team of famous and skilled travel experts who are well trained according to the latest demands of the industry. We are one of the fastest-growing firms in the tourism industry. Besides ticket booking, you can avail of many services that can help you to enjoy your flying experience more rather than worrying about the procedures of the flights.

  23. Anonymous

    Our helpline number is available to you 24/7, you just have to call at our number to make your bookings. What’s more? You can ask for any kind of query related to baggage, cabin, check-in policy and more. You can consult our experts many times as you want as there are no applicable charges to contact at British Contact Number.

  24. Anonymous

    Get the best and reliable assistance to m make your flying experience unique. At our platform, meet with our travel agents who are dedicated to their services. They will love to help you with all sorts of queries. Book now Southwest Customer Care through and get early bird offers.

  25. Anonymous

    Plan a trip anywhere for vacation or business and dial at our United Airlines Reservations helpline. Although scores of websites and other on-the-call booking services exist, we are nowhere behind in giving our customers the best. Additionally, we are masters of customization.

  26. Anonymous

    Get quick and instant resolution of the issues and problems by connecting with our team of technical specialist via Mcafee Customer Service Phone Number.

  27. Anonymous

    Get excellent assistance on all your antivirus issues by calling our experts at McAfee Antivirus Phone Number, available 24/7 to resolve all your troubles.

  28. Anonymous

    Stay in touch with our latest offers and great travel deals available only at the Spirit Airlines customer service number, experience many benefits. With the help of Spirit Airlines customer service number Book Flight's assistant. Our team has followed you with the best prices on flight booking.

  29. Anonymous

    Need to upgrade your home locks or simply get out of a locked car. We are the best answers for your needs of Locksmith Near Me or Locksmith In My Area.

  30. Anonymous

    Dial Spirit Toll Free Number to resolve all your queries with our experts. Here you will get best discounted tickets with reasonable and very affordable prices.

  31. Anonymous

    If you are looking for best discounted tickets then visit American Airlines Number and get best deals and offers on flight tickets. Just connect with our experts and fly for your vacations.Top of Form

  32. Anonymous

    Now British Airways are the king of this group as they carry around over 46 million people over the year. There is no denying how much British people love to drink tea. BA serves more than 25 million cups of tea every year including both long and short-haul flights. 

  33. Anonymous

    We strive to streamline your repayment process with Student Loan Consolidation. Contact us for help for the best Student Loan Consolidation Companies.

  34. Anonymous

    Your blog is valuable us with significant information flight booking at,your new travel Allegiant Airlines Number booking associate. Contact our pros. It was the key bearers to show Premium Economy Each and each tip of your post are astonishing. Much refreshing for sharing. Keep blogging.if you any issue you can interface authorities groups master bunch best deals.

  35. Anonymous

    if anyone is searching for gaming and best gaming. then you must play clash of light. if there is some problem or your mobile doesn't accept the application then you should have to download this page

  36. Anonymous

    I am a family person and we all know that saving money for a family person is very difficult. One day I was searching some travelling sites then I got Lufthansa Airlines. When I dialed their Lufthansa Phone Number I got amazing deals and discounted tickets even with best facilities. So without thinking too much I booked my tickets and I also enjoyed travelling with them.

  37. Anonymous

    Your blog is useful us with important data flight booking at Southwest Airlines Phone Number, your new travel booking accomplice. Contact our specialists. It was the key carriers to display Premium Economy Each and each tip of your post are amazing. Much appreciated for sharing.

  38. Anonymous

    Hello, I would like to thank you for sharing this interesting information. What is more, the material provided here will be useful together with my task sample

  39. Anonymous

    Plumbers On Call provides best services for your queries with plumbers near me. We are active all day to provide plumbers at your homes! Visit Plumbers On Call.

  40. Anonymous

    Plumbers In My Area will fix your washbasin malfunction, sewer troubles, leaking pipes or sink overflows. Call us 24x7 for Local Plumbers In My Area.

  41. Anonymous

    Allegiant is Different’ it’s a common saying, confused whether you go for Allegiant Airlines Book A Flight? Read on to find reasons for flying.

  42. Anonymous

    Book Delta Reservations and get discounts on every flight. Our agents are there to help the customers worldwide. Dial toll free and Book Delta Reservations.

  43. Anonymous

    I recently booked my ticket through American Phone Number . And let me tell you that it was a pleasant flight to fly with American Airlines. Talking on American Phone Number provided me with the necessary information to cancel the ticket. Look forward to flying with them again!

  44. Anonymous

    Leptitox supplement has been formulated by 22 completely natural ingredients in order to help the user lose weight. Its creators, Dr. Morgan Hurst, and his research team have combined a group of ingredients that detoxify the body in order to have safe and reliable results when it comes to losing weight.

    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.
  45. Anonymous

    The operation of Qatar Airways Flights is still going in Coronavirus situations. However, Qatar Airways is offering flight change flexibility. Read Now!!

  46. Anonymous

    This is also a very good post which un jobs I really enjoyed reading. evden eve nakliyat adana It is not everyday that I have the possibility to see something like this jobs in usa

  47. Anonymous

    Happy birthday or Birthday Wishes to someone who deserves a truly happy day and who makes everybody around happy. Yoga enhances breathing techniques, exercise and meditation. It helps to improve health and happiness. Yoga is the Sanskrit word means union. Yoga Quotes will motivate you to live your life positively.

  48. Anonymous

    E-commerce research paper writers are hard to come across for those in need of E-commerce Essay Writing Services and trade and e-commerce writing services.  

  49. Anonymous

    Alcohol Rehab provides a safe environment to overcome the withdrawal setbacks. It tells you how to successfully overcome all those challenges. Call now.

  50. Anonymous

    If your printer showing errors with your printer setup. You can call us at our toll-free number to get the best HP Printer Setup help. Call us now.

  51. Anonymous

    We are the providing pay to write my essay that you can rely on without any worries. Our experts offer online assistance in assignments, essays, projects.

  52. Anonymous

    Online biology essay services have come up with Biology Essay Writing Services for biology research paper writing service students in order for them to score straight A’s in their custom biology research paper services.  

  53. Anonymous

    Are you looking for the best paper writing service? Visit us to avail expert assignment help at any time with a discounted price.

  54. Anonymous

    Nice Article thanks for your valuable information post UK assignment help websites in uk me at any time with good hire essay efficiently without hindrances AllAssignmenthelp 

  55. Anonymous

    Nice Article thanks for your valuable information, we work 24*7 for your convenience, so you don’t need to wait for any certain time for do my homework

  56. Anonymous

    Allhomeworkhelp if you are looking for good work then we provide the best high-quality essay and other Online Makemyassignment help services.

    My math homework
    Buy assignments online

  57. Anonymous

    Nice Article thanks for your valuable information, we work 24*7 for your convenience, so you don’t need to wait for narrative conventions list

  58. Anonymous

  59. Anonymous

    Nice Article thanks for your valuable information, we work 24*7 for your convenience, so you don’t need to wait for linear programming assignment help

  60. Anonymous

    Can I pay someone to do my online class place approaching me? Granted, we're a stable free grammar check providers joining you among material teachers to get your education & experiments. digital electronics homework help   database design assignment help   important of education

  61. Anonymous

    Nice Article thanks for your valuable information, we work 24*7 for your convenience, so you don’t need to wait for How to get full marks in contract law assignment writing serivce

  62. Anonymous

    tragic hero - definition, a large or righteous standing in a moving tragedy who is designed for the comedown, affliction, or disappointment: Oedipus, the typical terrible heavy. emotive language. emotive language

  63. Anonymous

    Nice Article thanks for your valuable information, we work 24*7 for your convenience, so you don’t need to wait for How to get full marks in tort law assignment expert

  64. Anonymous

    These types of issues can cause severe issues for the end-users and they will find it difficult to manage the given resources there should be a service like the best affordable essay writing service that enable them to clear the academic term easily.

  65. Anonymous

    I just want to thank you to share your information on your blog; this is a simple and useful. thesis writers ireland

  66. Anonymous

    thanks for the great information we are glad to be here also get live currency exchange rates at allhubss

  67. Anonymous


    I totally liked it. Your entire website is great. We offer the best assignment help online at a cheap price, so hire a writer to the 

    do my math homework or pay only us for your assignment now for the best results.

  68. Anonymous

    It is important to seek medical coursework writing services and medical research paper writing services since students find help when they visit Medical Research Writing Services

  69. Anonymous

    If you are searching for Homework help UK here, We provide you the Best Homework Help in the UK by expert academic writers. Our assignment helpers aim to provide 100% plagiarism free assignment help. Our approach to valuing values ​​has helped us become the most promising online help in the favorite student distribution app in the UK. Contact us today and get a reasonable quote. With homework Help, we also provide Law Assignment Help, Science Assignment Help, Geography Assignment Help, etc. Contact us by email at and our experts will contact us as soon as possible. Call us at Toll-Free Number Or Whatsapp at +44 7520644027 ..!! 

  70. Anonymous

    cs homework help project from able and dedicated authorities for learners fighting with their study in one programming communication. programming expert on the lowest price all over the world. please try us. we will not disappoint you.

  71. Anonymous

    viagra prices buy viagra canadian pharmacy generic viagra
  72. Anonymous

    generic viagra walmart mexican viagra viagra over the counter usa 2020
  73. Anonymous

    cialis 5mg coupon generic cialis for sale cialis generic availability
  74. Anonymous

    buying viagra online buy viagra buy viagra online
  75. Anonymous

    drugs to treat ed canadian pharmacy online vacuum therapy for ed
  76. Anonymous

    buy viagra online cheap buy generic drugs no prescription viagra best drugs for erectile dysfunction
  77. Anonymous

    erectial dysfunction Cheap Erection Pills vitality ed pills
  78. Anonymous

  79. Anonymous

    how much does cialis cost buy cialis online canadian viagra cialis cialis dosage
  80. Anonymous and and and
  81. Anonymous and and and
  82. Anonymous

    ed treatment natural prescription drugs without doctor approval
  83. Anonymous

    ed devices herbal ed remedies
  84. Anonymous order prednisone with mastercard debit and prednisone pill 20 mg
  85. Anonymous

    cash advance payday loans no credit check instant approval
  86. Anonymous

    cheap sildenafil sildenafil without doctor prescription