Some help regarding OAth and validation

I provied an example

https://barrycarlyon.github.io/twitch_misc/authentication/implicit_auth/

For other token types there is examples on the same github.

Or you can refer to the documentation that provides the relevant calls for the various token types