TWTRLogInErrorCode Constants Reference
Declared in | TWTRConstants.h |
---|
TWTRLogInErrorCode
Error codes surfaced by the Twitter SDK with the TWTRLogInErrorDomain
error domain.
Definition
typedef NS_ENUM(NSInteger, TWTRLogInErrorCode ) {
TWTRLogInErrorCodeUnknown = -1,
TWTRLogInErrorCodeDenied = 0,
TWTRLogInErrorCodeCancelled = 1,
TWTRLogInErrorCodeNoAccounts = 2,
TWTRLogInErrorCodeReverseAuthFailed = 3,
TWTRLogInErrorCodeCannotRefreshSession = 4,
TWTRLogInErrorCodeSessionNotFound = 5,
TWTRLogInErrorCodeFailed = 6,
TWTRLogInErrorCodeSystemAccountCredentialsInvalid = 7,
TWTRLoginErrorNoTwitterApp = 8,
};
Constants
TWTRLogInErrorCodeUnknown
-
Unknown error.
Declared In
TWTRConstants.h
. TWTRLogInErrorCodeDenied
-
User denied login.
Declared In
TWTRConstants.h
. TWTRLogInErrorCodeCancelled
-
User canceled login.
Declared In
TWTRConstants.h
. TWTRLogInErrorCodeNoAccounts
-
No Twitter account found.
Declared In
TWTRConstants.h
. TWTRLogInErrorCodeReverseAuthFailed
-
Reverse auth with linked account failed.
Declared In
TWTRConstants.h
. TWTRLogInErrorCodeCannotRefreshSession
-
Refreshing session tokens failed.
Declared In
TWTRConstants.h
. TWTRLogInErrorCodeSessionNotFound
-
No such session or session is not tracked in the associated session store.
Declared In
TWTRConstants.h
. TWTRLogInErrorCodeFailed
-
The login request failed.
Declared In
TWTRConstants.h
. TWTRLogInErrorCodeSystemAccountCredentialsInvalid
-
The system account credentials are no longer valid and the user will need to update their credentials in the Settings app.
Declared In
TWTRConstants.h
. TWTRLoginErrorNoTwitterApp
-
There was no Twitter iOS app installed to attemp the Mobile SSO flow.
Declared In
TWTRConstants.h
.
Declared In
TWTRConstants.h