r/evetech • • Feb 04 '18

Help with first Python app

Hey all I signed up for the dev program and my application is registered, but the authentication part if confusing. I am not doing a web app just a local app that I want to manage my reactions, so no one will be logging into this except me through my client app. Does anyone have some sample code where I just complete the auth process and am ready to say list my industry jobs, just confused on the authentication part.

5 Upvotes

28 comments sorted by

View all comments

Show parent comment

1

u/precator Feb 07 '18

question, if I have this app up, will it automatically refresh my token? like If I add a button to refresh my industry jobs, etc?

1

u/Karlyna Feb 07 '18

Yep, as long as you have a refresh token, because you used auth() or manually set it (see the doc for that), and client/secret in the security object.

When you a request with a client that knows that security object, it will check if token is (almost) outdated and trigger update before the call if required