DBOAuthResultTag
Objective-C
enum DBOAuthResultTag : NSInteger {}
Swift
enum DBOAuthResultTag : Int, @unchecked Sendable
The DBAuthResultTag
enum type represents the possible tag states that the DBOAuthResult union can exist in.
-
The authorization succeeded. Includes a
DBAccessToken
.Declaration
Objective-C
DBAuthSuccess
Swift
case DBAuthSuccess = 0
-
The authorization failed. Includes an
OAuth2Error
and a descriptive message.Declaration
Objective-C
DBAuthError
Swift
case DBAuthError = 1
-
The authorization was manually canceled by the user.
Declaration
Objective-C
DBAuthCancel
Swift
case DBAuthCancel = 2