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
DBAuthSuccessSwift
case DBAuthSuccess = 0 -
The authorization failed. Includes an
OAuth2Errorand a descriptive message.Declaration
Objective-C
DBAuthErrorSwift
case DBAuthError = 1 -
The authorization was manually canceled by the user.
Declaration
Objective-C
DBAuthCancelSwift
case DBAuthCancel = 2
View on GitHub
DBOAuthResultTag Enumeration Reference