Documentation

Vivox Unity SDK

Vivox Unity SDK

Access token terminology

Learn key terms and concepts related to Vivox access tokens.
Read time 1 minuteLast updated 9 months ago

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) {<br/>                         return rtrim(strtr(base64_encoded($str), '+/', '-_'), '=')<br/>                         }

The following example is an implementation of base64url encoding in Python:
import base64                         def base64url_encode(s):<br/>                         """Return a base64url-encoded str"""<br/>                         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 string
A string composed of characters found in the URL and filename safe Base64 alphabet. For more information, see the IETF documentation on RFC 4648.