feat: add Twitch OAuth response contracts
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"identity": "bot",
|
||||
"scopes": ["channel:bot", "user:read:chat", "user:write:chat"],
|
||||
"authorization_url": "https://id.twitch.tv/oauth2/authorize?client_id=public-example-client&redirect_uri=http%3A%2F%2Flocalhost%3A8787%2Fapi%2Fv1%2Ftwitch%2Foauth%2Fcallback&response_type=code&scope=channel%3Abot+user%3Aread%3Achat+user%3Awrite%3Achat&state=synthetic-state",
|
||||
"expires_in_seconds": 600
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"identity": "streamer",
|
||||
"twitch_user_id": "synthetic-twitch-user-id",
|
||||
"display_name": "SyntheticStreamer"
|
||||
}
|
||||
Reference in New Issue
Block a user