Need some help with auth tokens [TwitchLib]

If you want some additional information on OAuth 2.0, feel free to refer to the resources linked in this FAQ Post: (disclaimer: I wrote it.) Authenticating with the Twitch API

The really short version of it is: User authorizes your app to access the details of their account and then you can access that information.