Enum twitch_oauth2::Scope [−][src]
#[non_exhaustive] pub enum Scope {}Show variants
AnalyticsReadExtensions, AnalyticsReadGames, BitsRead, ChannelEditCommercial, ChannelManageBroadcast, ChannelManageExtensions, ChannelManagePolls, ChannelManagePredictions, ChannelManageRedemptions, ChannelManageSchedule, ChannelManageVideos, ChannelModerate, ChannelReadEditors, ChannelReadHypeTrain, ChannelReadPolls, ChannelReadPredictions, ChannelReadRedemptions, ChannelReadStreamKey, ChannelReadSubscriptions, ChannelSubscriptions, ChatEdit, ChatRead, ClipsEdit, ModerationRead, ModeratorManageAutoMod, UserEdit, UserEditBroadcast, UserEditFollows, UserManageBlockedUsers, UserReadBlockedUsers, UserReadBroadcast, UserReadEmail, UserReadFollows, UserReadSubscriptions, WhispersEdit, WhispersRead, Other(Cow<'static, str>),
Expand description
Scopes for twitch.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
View analytics data for the Twitch Extensions owned by the authenticated account.
analytics:read:extensions
View analytics data for the games owned by the authenticated account.
analytics:read:games
View Bits information for a channel.
bits:read
Run commercials on a channel.
channel:edit:commercial
Manage a channel’s broadcast configuration, including updating channel configuration and managing stream markers and stream tags.
channel:manage:broadcast
Manage a channel’s Extension configuration, including activating Extensions.
channel:manage:extensions
Manage a channel’s polls.
channel:manage:polls
Manage of channel’s Channel Points Predictions
channel:manage:predictions
Manage Channel Points custom rewards and their redemptions on a channel.
channel:manage:redemptions
Manage a channel’s stream schedule.
channel:manage:schedule
Manage a channel’s videos, including deleting videos.
channel:manage:videos
Perform moderation actions in a channel. The user requesting the scope must be a moderator in the channel.
channel:moderate
View a list of users with the editor role for a channel.
channel:read:editors
View Hype Train information for a channel.
channel:read:hype_train
View a channel’s polls.
channel:read:polls
View a channel’s Channel Points Predictions.
channel:read:predictions
View Channel Points custom rewards and their redemptions on a channel.
channel:read:redemptions
View an authorized user’s stream key.
channel:read:stream_key
View a list of all subscribers to a channel and check if a user is subscribed to a channel.
channel:read:subscriptions
[DEPRECATED] Read all subscribers to your channel.
channel_subscriptions
Send live stream chat and rooms messages.
chat:edit
View live stream chat and rooms messages.
chat:read
Manage Clips for a channel.
clips:edit
View a channel’s moderation data including Moderators, Bans, Timeouts, and Automod settings.
moderation:read
Manage messages held for review by AutoMod in channels where you are a moderator.
moderator:manage:automod
Manage a user object.
user:edit
Edit your channel’s broadcast configuration, including extension configuration. (This scope implies user:read:broadcast capability.)
user:edit:broadcast
Edit a user’s follows.
user:edit:follows
Manage the block list of a user.
user:manage:blocked_users
View the block list of a user.
user:read:blocked_users
View a user’s broadcasting configuration, including Extension configurations.
user:read:broadcast
Read an authorized user’s email address.
user:read:email
View the list of channels a user follows.
user:read:follows
View if an authorized user is subscribed to specific channels.
user:read:subscriptions
Send whisper messages.
whispers:edit
View your whisper messages.
whispers:read
Other scope that is not implemented.
Implementations
Get a vec of all defined twitch Scopes.
Please note that this may not work for you, as some auth flows and “apis” don’t accept all scopes
Get a description for the token
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Scope
impl UnwindSafe for Scope
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more