文档

支持

Vivox Unreal SDK

Vivox Unreal SDK

Access Token Signature

Learn how Vivox access tokens are signed using HMAC SHA256.
阅读时间1 分钟最后更新于 13 天前

The signature is the base64url-encoded HMAC of the first two parts:
base64UrlEncode(HMACSHA256(base64UrlEncode(header) + '.' + base64UrlEncode(payload), key))
The encoded header and encoded payload are joined with a period, undergoes HMAC with the token signing key, and then the entirety is encoded.