文档

支持

Vivox Unreal SDK

Vivox Unreal SDK

Access Token Terminology

Learn key terms and concepts related to Vivox access tokens.
阅读时间1 分钟最后更新于 13 天前

TermDescription
Base64url encoding
Base64 encoding with all trailing '=' removed, '+' changed to '-', and '/' changed to '_'.
For more information, refer to the IETF documentation on RFC 7515.
The following example is an implementation of base64url encoding in PHP:
function base64url_encoded($str) {                         return rtrim(strtr(base64_encoded($str), '+/', '-_'), '=')                         }

The following example is an implementation of base64url encoding in Python:
import base64                         def base64url_encode(s):                         """Return a base64url-encoded str"""                         return base64.urlsafe_b64encode(s).rstrip('=')

For an example implementation of base64url encoding in C#, see the IETF documentation on RFC 7515.
URL and filename safe stringA string composed of characters found in the URL and filename safe Base64 alphabet. For more information, see the IETF documentation on RFC 4648.