This changes the function name from get_token_paylod to get_token_payload.
I added another function get_token_paylod with a deprecation warning (it warns only once if called multiple times) which simply calls and returns the result of get_token_payload.
Alternatively one could assign get_token_paylod = get_token_payload but this wouldn't trigger a deprecation warning.
This changes the function name from
get_token_paylod
toget_token_payload
.I added another function
get_token_paylod
with a deprecation warning (it warns only once if called multiple times) which simply calls and returns the result ofget_token_payload
.Alternatively one could assign
get_token_paylod = get_token_payload
but this wouldn't trigger a deprecation warning.