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

1 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
Please sign in to leave a comment.