Skip to content

OAuth2Scope

daneden edited this page Apr 2, 2022 · 1 revision

OAuth2Scope

The available access scopes for Twitter's OAuth 2.0 user authentication.

public enum OAuth2Scope: String, CaseIterable, RawRepresentable 

Inheritance

CaseIterable, RawRepresentable, String

Enumeration Cases

tweetRead

All the Tweets you can view, including Tweets from protected accounts.

case tweetRead = "tweet.read"

tweetWrite

Tweet and Retweet for you.

case tweetWrite = "tweet.write"

tweetModerateWrite

Hide and unhide replies to your Tweets.

case tweetModerateWrite = "tweet.moderate.write"

usersRead

Any account you can view, including protected accounts.

case usersRead = "users.read"

followsRead

People who follow you and people who you follow.

case followsRead = "follows.read"

followsWrite

Follow and unfollow people for you.

case followsWrite = "follows.write"

offlineAccess

Stay connected to your account until you revoke access.

case offlineAccess = "offline.access"

spaceRead

All the Spaces you can view.

case spaceRead = "space.read"

muteRead

Accounts you’ve muted.

case muteRead = "mute.read"

muteWrite

Mute and unmute accounts for you.

case muteWrite = "mute.write"

likeRead

Tweets you’ve liked and likes you can view.

case likeRead = "like.read"

likeWrite

Like and un-like Tweets for you.

case likeWrite = "like.write"

listRead

Lists, list members, and list followers of lists you’ve created or are a member of, including private lists.

case listRead = "list.read"

listWrite

Create and manage Lists for you.

case listWrite = "list.write"

blockRead

Accounts you’ve blocked.

case blockRead = "block.read"

blockWrite

Block and unblock accounts for you.

case blockWrite = "block.write"

bookmarkRead

Get Bookmarked Tweets from an authenticated user.

case bookmarkRead = "bookmark.read"

bookmarkWrite

Bookmark and remove Bookmarks from Tweets

case bookmarkWrite = "bookmark.write"
Types
Global Variables
Global Functions
Extensions
Clone this wiki locally