Token is the user metadata which is signed with the DeveloperKey and base64 encoded. The metadata must contain the username, expiration date (and an optional vCard).

        • Java sample generator: https://static.vidyo.io/4.1.7.2/utils/generateToken.jar
          java -jar generateToken.jar --key=rUlaMASgt1Byi4Kp3sKYDeQzo --appID=ApplicationID --userName=user1 --vCardFile=vcard-example.xml --expiresInSecs=10000
          
          find sample here : https://github.com/Vidyo/generateToken-java
Was this article helpful?
0 out of 0 found this helpful

3 Comments

Follow
  • 0
    Avatar
    Kathir Vellu

    im downloaded code from vidyo.io mobile code ,for generating token im geting error ,unable to find jar .Below code i have used.I dnt used --vcard-example.xml.please help me

     

    java -jar generateToken.jar --key=rUlaMASgt1Byi4Kp3sKYDeQzo --appID=ApplicationID --userName=user1 --vCardFile=vcard-example.xml --expiresInSecs=10000
    

    Thanks
  • 0
    Avatar
    Jitendra Kumar

       First download--   Java sample generator: https://static.vidyo.io/4.1.7.2/utils/generateToken.jar

         and then open cmd where generateToken.jar is located and jdk path should be set.

    java -jar generateToken.jar --key=rUlaMASgt1Byi4Kp3sKYDeQzo --appID=ApplicationID --userName=user1 --expiresInSecs=10000
  • 0
    Avatar
    OROCK MACZIDANE

    How to automatically generate token and pass it to code in web based app.Am trying to make the whole process automatic.Please help am using javascript and php

Please sign in to leave a comment.