auth.utils¶
Functions¶
|
Modified Base64 for URL variants exist, where the + and / characters of |
|
Modified Base64 for URL variants exist, where the + and / characters of |
Module Contents¶
- auth.utils.decode(payload)¶
Modified Base64 for URL variants exist, where the + and / characters of standard Base64 are respectively replaced by - and _.
See https://en.wikipedia.org/wiki/Base64#URL_applications
- Parameters:
payload (str)
- Return type:
bytes
- auth.utils.encode(payload)¶
Modified Base64 for URL variants exist, where the + and / characters of standard Base64 are respectively replaced by - and _.
See https://en.wikipedia.org/wiki/Base64#URL_applications
- Parameters:
payload (Union[bytes, str])
- Return type:
bytes