Json Decoders for OAuth tokens.
Use these pieces to pull out the parts your application needs.
userId = token
|> Maybe.andThen (Result.toMaybe << Jwt.decodeToken Twitch.Helix.Token.sub)Issuier, e.g. Twitch
Audience
Expires timestamp
Issued-at timestamp
Sample OAuth token.
Subject; e.g. a user id