com.github.twitch4j.auth.domain.TwitchScopes Maven / Gradle / Ivy
The newest version!
package com.github.twitch4j.auth.domain;
public enum TwitchScopes {
/**
* Scopes
*/
CHAT_CHANNEL_MODERATE("channel:moderate"),
CHAT_EDIT("chat:edit"),
CHAT_READ("chat:read"),
CHAT_CHANNEL_BOT("channel:bot"),
CHAT_USER_BOT("user:bot"),
CHAT_USER_READ("user:read:chat"),
CHAT_WHISPERS_READ("whispers:read"),
CHAT_WHISPERS_EDIT("whispers:edit"),
HELIX_ANALYTICS_READ_EXTENSIONS("analytics:read:extensions"),
HELIX_ANALYTICS_READ_GAMES("analytics:read:games"),
HELIX_BITS_READ("bits:read"),
HELIX_CLIPS_EDIT("clips:edit"),
HELIX_CHANNEL_ADS_MANAGE("channel:manage:ads"),
HELIX_CHANNEL_ADS_READ("channel:read:ads"),
HELIX_CHANNEL_BROADCAST_MANAGE("channel:manage:broadcast"),
HELIX_CHANNEL_CHARITY_READ("channel:read:charity"),
HELIX_CHANNEL_COMMERCIALS_EDIT("channel:edit:commercial"),
HELIX_CHANNEL_EXTENSION_MANAGE("channel:manage:extensions"),
HELIX_CHANNEL_EDITORS_READ("channel:read:editors"),
HELIX_CHANNEL_FOLLOWERS_READ("moderator:read:followers"),
HELIX_CHANNEL_GOALS_READ("channel:read:goals"),
HELIX_CHANNEL_GUEST_STAR_MANAGE("channel:manage:guest_star"),
HELIX_CHANNEL_GUEST_STAR_READ("channel:read:guest_star"),
HELIX_CHANNEL_HYPE_TRAIN_READ("channel:read:hype_train"),
HELIX_CHANNEL_MODS_MANAGE("channel:manage:moderators"),
HELIX_CHANNEL_POLLS_MANAGE("channel:manage:polls"),
HELIX_CHANNEL_POLLS_READ("channel:read:polls"),
HELIX_CHANNEL_PREDICTIONS_MANAGE("channel:manage:predictions"),
HELIX_CHANNEL_PREDICTIONS_READ("channel:read:predictions"),
HELIX_CHANNEL_RAIDS_MANAGE("channel:manage:raids"),
HELIX_CHANNEL_REDEMPTIONS_MANAGE("channel:manage:redemptions"),
HELIX_CHANNEL_REDEMPTIONS_READ("channel:read:redemptions"),
HELIX_CHANNEL_STREAM_KEY_READ("channel:read:stream_key"),
HELIX_CHANNEL_SUBSCRIPTIONS_READ("channel:read:subscriptions"),
HELIX_CHANNEL_VIDEOS_MANAGE("channel:manage:videos"),
HELIX_CHANNEL_VIPS_MANAGE("channel:manage:vips"),
HELIX_CHANNEL_VIPS_READ("channel:read:vips"),
HELIX_MODERATION_READ("moderation:read"),
HELIX_AUTOMOD_MANAGE("moderator:manage:automod"),
HELIX_AUTOMOD_SETTINGS_MANAGE("moderator:manage:automod_settings"),
HELIX_AUTOMOD_SETTINGS_READ("moderator:read:automod_settings"),
HELIX_BANNED_USERS_MANAGE("moderator:manage:banned_users"),
HELIX_BANNED_USERS_READ("moderator:read:banned_users"),
HELIX_BLOCKED_TERMS_MANAGE("moderator:manage:blocked_terms"),
HELIX_BLOCKED_TERMS_READ("moderator:read:blocked_terms"),
HELIX_CHAT_ANNOUNCEMENTS_MANAGE("moderator:manage:announcements"),
HELIX_CHATTERS_READ("moderator:read:chatters"),
HELIX_CHAT_MESSAGES_MANAGE("moderator:manage:chat_messages"),
HELIX_CHAT_MESSAGES_READ("moderator:read:chat_messages"),
HELIX_CHAT_SETTINGS_MANAGE("moderator:manage:chat_settings"),
HELIX_CHAT_SETTINGS_READ("moderator:read:chat_settings"),
HELIX_GUEST_STAR_MANAGE("moderator:manage:guest_star"),
HELIX_GUEST_STAR_READ("moderator:read:guest_star"),
HELIX_MODERATORS_READ("moderator:read:moderators"),
HELIX_SHIELD_MODE_MANAGE("moderator:manage:shield_mode"),
HELIX_SHIELD_MODE_READ("moderator:read:shield_mode"),
HELIX_SHOUTOUTS_MANAGE("moderator:manage:shoutouts"),
HELIX_SHOUTOUTS_READ("moderator:read:shoutouts"),
HELIX_SUSPICIOUS_USERS_READ("moderator:read:suspicious_users"),
HELIX_UNBAN_REQUESTS_MANAGE("moderator:manage:unban_requests"),
HELIX_UNBAN_REQUESTS_READ("moderator:read:unban_requests"),
HELIX_USER_COLOR_MANAGE("user:manage:chat_color"),
HELIX_USER_EDIT("user:edit"),
HELIX_USER_EDIT_BROADCAST("user:edit:broadcast"),
HELIX_USER_EDIT_FOLLOWS("user:edit:follows"),
HELIX_USER_BLOCKS_READ("user:read:blocked_users"),
HELIX_USER_READ_BROADCAST("user:read:broadcast"),
HELIX_USER_CHAT_WRITE("user:write:chat"),
HELIX_USER_EMOTES_READ("user:read:emotes"),
HELIX_USER_FOLLOWS_READ("user:read:follows"),
HELIX_USER_SUBSCRIPTIONS_READ("user:read:subscriptions"),
HELIX_USER_EMAIL("user:read:email"),
HELIX_USER_MODERATED_READ("user:read:moderated_channels"),
HELIX_USER_BLOCKS_MANAGE("user:manage:blocked_users"),
HELIX_USER_WHISPERS_MANAGE("user:manage:whispers"),
HELIX_USER_WHISPERS_READ("user:read:whispers"),
HELIX_VIPS_READ("moderator:read:vips"),
HELIX_WARNINGS_MANAGE("moderator:manage:warnings"),
HELIX_WARNINGS_READ("moderator:read:warnings"),
KRAKEN_CHANNEL_CHECK_SUBSCRIPTION("channel_check_subscription"),
KRAKEN_CHANNEL_COMMERCIAL("channel_commercial"),
KRAKEN_CHANNEL_EDITOR("channel_editor"),
KRAKEN_CHANNEL_FEED_EDIT("channel_feed_edit"),
KRAKEN_CHANNEL_FEED_READ("channel_feed_read"),
KRAKEN_CHANNEL_READ("channel_read"),
KRAKEN_CHANNEL_STREAM("channel_stream"),
KRAKEN_CHANNEL_SUBSCRIPTIONS("channel_subscriptions"),
KRAKEN_COLLECTIONS_EDIT("collections_edit"),
KRAKEN_COMMUNITIES_EDIT("communities_edit"),
KRAKEN_COMMUNITIES_MODERATE("communities_moderate"),
KRAKEN_OPENID("openid"),
KRAKEN_USER_BLOCKS_EDIT("user_blocks_edit"),
KRAKEN_USER_BLOCKS_READ("user_blocks_read"),
KRAKEN_USER_FOLLOWS_EDIT("user_follows_edit"),
KRAKEN_USER_READ("user_read"),
KRAKEN_USER_SUBSCRIPTIONS("user_subscriptions"),
KRAKEN_VIEWING_ACTIVITY_READ("viewing_activity_read"),
@Deprecated KRAKEN_CHAT_LOGIN("chat_login"),
@Deprecated HIDDEN_USER_PUSH_SUBSCRIPTIONS_EDIT("user_push_subscriptions_edit"),
@Deprecated HIDDEN_CHANNEL_FEED_REPORT("channel_feed_report"),
@Deprecated HIDDEN_USER_EDIT("user_edit"),
@Deprecated HIDDEN_USER_FRIENDS_EDIT("user_friends_edit"),
@Deprecated HIDDEN_USER_FRIENDS_READ("user_friends_read"),
@Deprecated HIDDEN_USER_PRESENCE_EDIT("user_presence_edit"),
@Deprecated HIDDEN_USER_PRESENCE_FRIENDS_READ("user_presence_friends_read"),
@Deprecated HIDDEN_USER_SUBSCRIPTIONS_EDIT("user_subscriptions_edit"),
@Deprecated HIDDEN_USER_ENTITLEMENTS_READ("user_entitlements_read");
/**
* Scope Text
*/
private final String name;
/**
* Constructor
*
* @param name string value
*/
TwitchScopes(String name) {
this.name = name;
}
/**
* Custom ToString
*
* @return string
*/
public String toString() {
return this.name;
}
}