Access token terminology
Learn key terms and concepts related to Vivox access tokens.
Read time 1 minuteLast updated 20 hours ago
Base64url encoding
Base64 encoding with all trailing '=' removed, '+' changed to '-', and '/' changed to '_'. For more information, see the IETF documentation on RFC 7515.The following example is an implementation of base64url encoding in PHP:
The following example is an implementation of base64url encoding in Python:function base64url_encoded($str) {return rtrim(strtr(base64_encoded($str), '+/', '-_'), '=')}
For an example implementation of base64url encoding in C#, see the IETF documentation on RFC 7515.import base64def base64url_encode(s):"""Return a base64url-encoded str"""return base64.urlsafe_b64encode(s).rstrip('=')