Example: Login token
An example of a Login token that allows a user to sign in to the server.
阅读时间1 分钟最后更新于 12 天前
The token in this example allows the user "jerky" to sign in to the server. The token expiration time is September 17, 2020 at 1:30 PM UTC. The token signing key is "secret!" (not including quotes).
Header
{}
Payload
{ "iss":"blindmelon-AppName-dev", "vxi":933000, "vxa":"login", "exp":1600349400, "f":"sip:.blindmelon-AppName-dev.jerky.@tla.vivox.com"}
Access token
e30.eyJpc3MiOiJibGluZG1lbG9uLUFwcE5hbWUtZGV2IiwidnhhIjoibG9naW4iLCJ2eGkiOjkzMzAwMCwiZXhwIjoxNjAwMzQ5NDAwLCJmIjoic2lwOi5ibGluZG1lbG9uLUFwcE5hbWUtZGV2Lmplcmt5LkB0bGEudml2b3guY29tIn0.5FKsAQz7bRQGGlSZw-KIcCmft7Ic6nT3Ih-TbdYPWwI