More detail on obtaining OAuth and OIDC tokens
You provide information on how to remove a token, how to refresh a token, and how to define scopes for tokens, but you don't actually have any information on how to request a token, nor any sample code on that or applying token scopes. Given that this step is fundamental to any interaction with the Twitch API, this seems like a fairly major omission.

-
Even with the links provided, there are definitely improvements that can be made to present the Authentication is a more clear and concise way. Keeping this open until that work is completed.
-
BarryCarlyon commented
https://dev.twitch.tv/docs/authentication/getting-tokens-oauth#oauth-authorization-code-flow
Covers how to get a user token
https://dev.twitch.tv/docs/authentication/getting-tokens-oauth#oauth-client-credentials-flow
Covers how to get a server to server token
https://dev.twitch.tv/docs/authentication/getting-tokens-oidc
Covers how to get an OIDC token
I have a number of authentication examples at
https://github.com/BarryCarlyon/twitch_misc/tree/master/authentication