[utils] Add improved jwt_encode function (#14071)
Also deprecates `jwt_encode_hs256` Authored by: bashonly
This commit is contained in:
parent
8df121ba59
commit
35da8df4f8
6 changed files with 84 additions and 15 deletions
|
|
@ -315,6 +315,7 @@ banned-from = [
|
|||
"yt_dlp.utils.error_to_compat_str".msg = "Use `str` instead."
|
||||
"yt_dlp.utils.bytes_to_intlist".msg = "Use `list` instead."
|
||||
"yt_dlp.utils.intlist_to_bytes".msg = "Use `bytes` instead."
|
||||
"yt_dlp.utils.jwt_encode_hs256".msg = "Use `yt_dlp.utils.jwt_encode` instead."
|
||||
"yt_dlp.utils.decodeArgument".msg = "Do not use"
|
||||
"yt_dlp.utils.decodeFilename".msg = "Do not use"
|
||||
"yt_dlp.utils.encodeFilename".msg = "Do not use"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue