You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/scopes.rs
+44-37Lines changed: 44 additions & 37 deletions
Original file line number
Diff line number
Diff line change
@@ -78,43 +78,50 @@ macro_rules! scope_impls {
78
78
}
79
79
80
80
scope_impls!(
81
-
AnalyticsReadExtensions, scope:"analytics:read:extensions", doc:"View analytics data for the Twitch Extensions owned by the authenticated account.";
82
-
AnalyticsReadGames, scope:"analytics:read:games", doc:"View analytics data for the games owned by the authenticated account.";
83
-
BitsRead, scope:"bits:read", doc:"View Bits information for a channel.";
84
-
ChannelEditCommercial, scope:"channel:edit:commercial", doc:"Run commercials on a channel.";
85
-
ChannelManageBroadcast, scope:"channel:manage:broadcast", doc:"Manage a channel’s broadcast configuration, including updating channel configuration and managing stream markers and stream tags.";
86
-
ChannelManageExtensions, scope:"channel:manage:extensions", doc:"Manage a channel’s Extension configuration, including activating Extensions.";
87
-
ChannelManagePolls, scope:"channel:manage:polls", doc:"Manage a channel’s polls.";
88
-
ChannelManagePredictions, scope:"channel:manage:predictions", doc:"Manage of channel’s Channel Points Predictions";
89
-
ChannelManageRedemptions, scope:"channel:manage:redemptions", doc:"Manage Channel Points custom rewards and their redemptions on a channel.";
90
-
ChannelManageSchedule, scope:"channel:manage:schedule", doc:"Manage a channel’s stream schedule.";
91
-
ChannelManageVideos, scope:"channel:manage:videos", doc:"Manage a channel’s videos, including deleting videos.";
92
-
ChannelModerate, scope:"channel:moderate", doc:"Perform moderation actions in a channel. The user requesting the scope must be a moderator in the channel.";
93
-
ChannelReadEditors, scope:"channel:read:editors", doc:"View a list of users with the editor role for a channel.";
94
-
ChannelReadGoals, scope:"channel:read:goals", doc:"View Creator Goals for a channel.";
95
-
ChannelReadHypeTrain, scope:"channel:read:hype_train", doc:"View Hype Train information for a channel.";
96
-
ChannelReadPolls, scope:"channel:read:polls", doc:"View a channel’s polls.";
97
-
ChannelReadPredictions, scope:"channel:read:predictions", doc:"View a channel’s Channel Points Predictions.";
98
-
ChannelReadRedemptions, scope:"channel:read:redemptions", doc:"View Channel Points custom rewards and their redemptions on a channel.";
99
-
ChannelReadStreamKey, scope:"channel:read:stream_key", doc:"View an authorized user’s stream key.";
100
-
ChannelReadSubscriptions, scope:"channel:read:subscriptions", doc:"View a list of all subscribers to a channel and check if a user is subscribed to a channel.";
101
-
ChannelSubscriptions, scope:"channel_subscriptions", doc:"\\[DEPRECATED\\] Read all subscribers to your channel.";
102
-
ChatEdit, scope:"chat:edit", doc:"Send live stream chat and rooms messages.";
103
-
ChatRead, scope:"chat:read", doc:"View live stream chat and rooms messages.";
104
-
ClipsEdit, scope:"clips:edit", doc:"Manage Clips for a channel.";
105
-
ModerationRead, scope:"moderation:read", doc:"View a channel’s moderation data including Moderators, Bans, Timeouts, and Automod settings.";
106
-
ModeratorManageAutoMod, scope:"moderator:manage:automod", doc:"Manage messages held for review by AutoMod in channels where you are a moderator.";
107
-
UserEdit, scope:"user:edit", doc:"Manage a user object.";
108
-
UserEditBroadcast, scope:"user:edit:broadcast", doc:"Edit your channel's broadcast configuration, including extension configuration. (This scope implies user:read:broadcast capability.)";
109
-
UserEditFollows, scope:"user:edit:follows", doc:"Edit a user’s follows.";
110
-
UserManageBlockedUsers, scope:"user:manage:blocked_users", doc:"Manage the block list of a user.";
111
-
UserReadBlockedUsers, scope:"user:read:blocked_users", doc:"View the block list of a user.";
112
-
UserReadBroadcast, scope:"user:read:broadcast", doc:"View a user’s broadcasting configuration, including Extension configurations.";
113
-
UserReadEmail, scope:"user:read:email", doc:"Read an authorized user’s email address.";
114
-
UserReadFollows, scope:"user:read:follows", doc:"View the list of channels a user follows.";
115
-
UserReadSubscriptions, scope:"user:read:subscriptions", doc:"View if an authorized user is subscribed to specific channels.";
WhispersRead, scope:"whispers:read", doc:"View your whisper messages.";
81
+
AnalyticsReadExtensions, scope:"analytics:read:extensions", doc:"View analytics data for the Twitch Extensions owned by the authenticated account.";
82
+
AnalyticsReadGames, scope:"analytics:read:games", doc:"View analytics data for the games owned by the authenticated account.";
83
+
BitsRead, scope:"bits:read", doc:"View Bits information for a channel.";
84
+
ChannelEditCommercial, scope:"channel:edit:commercial", doc:"Run commercials on a channel.";
85
+
ChannelManageBroadcast, scope:"channel:manage:broadcast", doc:"Manage a channel’s broadcast configuration, including updating channel configuration and managing stream markers and stream tags.";
86
+
ChannelManageExtensions, scope:"channel:manage:extensions", doc:"Manage a channel’s Extension configuration, including activating Extensions.";
87
+
ChannelManagePolls, scope:"channel:manage:polls", doc:"Manage a channel’s polls.";
88
+
ChannelManagePredictions, scope:"channel:manage:predictions", doc:"Manage of channel’s Channel Points Predictions";
89
+
ChannelManageRedemptions, scope:"channel:manage:redemptions", doc:"Manage Channel Points custom rewards and their redemptions on a channel.";
90
+
ChannelManageSchedule, scope:"channel:manage:schedule", doc:"Manage a channel’s stream schedule.";
91
+
ChannelManageVideos, scope:"channel:manage:videos", doc:"Manage a channel’s videos, including deleting videos.";
92
+
ChannelModerate, scope:"channel:moderate", doc:"Perform moderation actions in a channel. The user requesting the scope must be a moderator in the channel.";
93
+
ChannelReadEditors, scope:"channel:read:editors", doc:"View a list of users with the editor role for a channel.";
94
+
ChannelReadGoals, scope:"channel:read:goals", doc:"View Creator Goals for a channel.";
95
+
ChannelReadHypeTrain, scope:"channel:read:hype_train", doc:"View Hype Train information for a channel.";
96
+
ChannelReadPolls, scope:"channel:read:polls", doc:"View a channel’s polls.";
97
+
ChannelReadPredictions, scope:"channel:read:predictions", doc:"View a channel’s Channel Points Predictions.";
98
+
ChannelReadRedemptions, scope:"channel:read:redemptions", doc:"View Channel Points custom rewards and their redemptions on a channel.";
99
+
ChannelReadStreamKey, scope:"channel:read:stream_key", doc:"View an authorized user’s stream key.";
100
+
ChannelReadSubscriptions, scope:"channel:read:subscriptions", doc:"View a list of all subscribers to a channel and check if a user is subscribed to a channel.";
101
+
ChannelSubscriptions, scope:"channel_subscriptions", doc:"\\[DEPRECATED\\] Read all subscribers to your channel.";
102
+
ChatEdit, scope:"chat:edit", doc:"Send live stream chat and rooms messages.";
103
+
ChatRead, scope:"chat:read", doc:"View live stream chat and rooms messages.";
104
+
ClipsEdit, scope:"clips:edit", doc:"Manage Clips for a channel.";
105
+
ModerationRead, scope:"moderation:read", doc:"View a channel’s moderation data including Moderators, Bans, Timeouts, and Automod settings.";
106
+
ModeratorManageAutoMod, scope:"moderator:manage:automod", doc:"Manage messages held for review by AutoMod in channels where you are a moderator.";
107
+
ModeratorManageAutomodSettings, scope:"moderator:manage:automod_settings", doc:"Manage a broadcaster’s AutoMod settings";
108
+
ModeratorManageBannedUsers, scope:"moderator:manage:banned_users", doc:"Ban and unban users.";
109
+
ModeratorManageBlockedTerms, scope:"moderator:manage:blocked_terms", doc:"Manage a broadcaster’s list of blocked terms.";
110
+
ModeratorManageChatSettings, scope:"moderator:manage:chat_settings", doc:"View a broadcaster’s chat room settings.";
111
+
ModeratorReadAutomodSettings, scope:"moderator:read:automod_settings", doc:"View a broadcaster’s AutoMod settings.";
112
+
ModeratorReadBlockedTerms, scope:"moderator:read:blocked_terms", doc:"View a broadcaster’s list of blocked terms.";
113
+
ModeratorReadChatSettings, scope:"moderator:read:chat_settings", doc:"View a broadcaster’s chat room settings.";
114
+
UserEdit, scope:"user:edit", doc:"Manage a user object.";
115
+
UserEditBroadcast, scope:"user:edit:broadcast", doc:"Edit your channel's broadcast configuration, including extension configuration. (This scope implies user:read:broadcast capability.)";
116
+
UserEditFollows, scope:"user:edit:follows", doc:"Edit a user’s follows.";
117
+
UserManageBlockedUsers, scope:"user:manage:blocked_users", doc:"Manage the block list of a user.";
118
+
UserReadBlockedUsers, scope:"user:read:blocked_users", doc:"View the block list of a user.";
119
+
UserReadBroadcast, scope:"user:read:broadcast", doc:"View a user’s broadcasting configuration, including Extension configurations.";
120
+
UserReadEmail, scope:"user:read:email", doc:"Read an authorized user’s email address.";
121
+
UserReadFollows, scope:"user:read:follows", doc:"View the list of channels a user follows.";
122
+
UserReadSubscriptions, scope:"user:read:subscriptions", doc:"View if an authorized user is subscribed to specific channels.";
0 commit comments