Access token terminology
Learn key terms and concepts related to Vivox access tokens.
읽는 시간 1분최근 업데이트: 7달 전
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 base64 def base64url_encode(s): """Return a base64url-encoded str""" return base64.urlsafe_b64encode(s).rstrip('=')