文档

​
​

Development

User Acquisition

Monetization

工业

Vivox Unity SDK

Vivox Unity SDK

Vivox
​
​
Vivox Unity SDK
  • Overview
  • Get started
  • Release notes
  • Developer guide
  • Tutorials
    • Implement Vivox Unity
    • Access Token Developer Guide
      • Access token terminology
      • Requests that require access tokens
      • Access token identifiers
      • Access token format
      • Access token examples
      • Generate a token from the client
      • Generate a token on a secure server
      • Key update API
      • Access token error codes
  • Reference
  1. Vivox Unity SDK 文档

访问令牌术语

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

术语描述
Base64url 编码
删除了所有尾随的“=”、将“+”更改为“-”并将“/”更改为“_”的 Base64 编码。
有关详细信息,请参阅有关 RFC 7515 的 IETF 文档。
以下示例是 PHP 中 base64url 编码的实现:
function base64url_encoded($str) {         return rtrim(strtr(base64_encoded($str), '+/', '-_'), '=')         }
以下示例是 Python 中 base64url 编码的实现:
import base64         def base64url_encode(s):         """Return a base64url-encoded str"""         return base64.urlsafe_b64encode(s).rstrip('=')
有关 C# 中 base64url 编码的示例实现,请参阅 RFC 7515 上的 IETF 文档。
URL 和文件名安全字符串
由 URL 和文件名安全 Base64 字母表中的字符组成的字符串。 有关详细信息,请参阅有关 RFC 4648 的 IETF 文档。

Copyright © 2026 Unity Technologies
法律信息隐私政策CookiesDocumentation Terms of Use请勿出售或分享我的个人信息您的隐私选择(Cookie 设置)

“Unity”、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属公司在美国和其他地方的商标或注册商标(此处查看更多信息)。其他名称或品牌是其各自所有者的商标。

为方便起见,一些页面是机器翻译的,可能包含不准确的内容。如有信息不一致的情况,以英文版本为准。


    报告此页面的问题