pgoapi icon indicating copy to clipboard operation
pgoapi copied to clipboard

logout option

Open Skifpao opened this issue 9 years ago • 7 comments

Skifpao avatar Aug 02 '16 11:08 Skifpao

A little bit more background?

tejado avatar Aug 02 '16 11:08 tejado

way to logout from api. so it won't be like cached serverside if relogin in short time

Skifpao avatar Aug 02 '16 11:08 Skifpao

Do you know how the logout is done in the app?

tejado avatar Aug 02 '16 12:08 tejado

no, I don't know.

Skifpao avatar Aug 02 '16 12:08 Skifpao

There is no proto for that (currently?). The App probably just logs you in with the different account and lets the token of the other account run out.

genIterator avatar Aug 02 '16 12:08 genIterator

Yes. There is also no login if you think it from the plain API side. You just execute something with the OAUTH token (google or ptc) and the request get redirected to some further server and there it get's re-executed. I will change this thinking of the login process in pgoapi soon.

tejado avatar Aug 02 '16 13:08 tejado

Is there a way to retrive the token after we perform login, this way we can keep using it for all the future calls, until it expires, re-login for each client call is somehow suspicious. Thanks

xakiru avatar Aug 07 '16 23:08 xakiru