ro-py / ro.py

ro.py is a modern, asynchronous Python 3 wrapper for the Roblox API.
https://ro.py.jmk.gg/
MIT License
115 stars 46 forks source link

Update client.py #30

Closed nikita-petko closed 3 years ago

nikita-petko commented 3 years ago

~ Add an optional token verification check

Julli4n commented 3 years ago

.ROBLOSECURITY

nikita-petko commented 3 years ago

Roblox.Authentication.Core

bkordan commented 3 years ago

OK, since when did you ever do python @nkpetko?

Boegie19 commented 3 years ago

@nkpetko Would it not be better to do an api call to an endpoint with the key to see if it is valid yes or no? Since that then you can be 100% sure it works

nikita-petko commented 3 years ago

@Boegie19 this verifies syntax, not jwt validity, read the comment I left

Boegie19 commented 3 years ago

@nkpetko I know but why would you check syntax if you can just check jwt validity since if it is wrong it will come out anyway

nikita-petko commented 3 years ago

@Boegie19 because checking Jwt validity is time consuming and wastes resources when you can just check syntax on the fly

nikita-petko commented 3 years ago

Closing this because you simply love to ignore me