OAuth
-
Platform-specific (iOS) manager for performing OAuth linking.
Declaration
Objective-C
@interface DBOAuthMobileManager : DBOAuthManager
Swift
class DBOAuthMobileManager : DBOAuthManager
-
Platform-neutral manager for performing OAuth linking.
Note
OAuth flow webviews localize to environment locale.Declaration
Objective-C
@interface DBOAuthManager : NSObject <DBAccessTokenRefreshing> { NSString *_appKey; NSURL *_redirectURL; NSURL *_cancelURL; NSString *_host; NSMutableArray<NSURL *> *_urls; DBOAuthPKCESession *_authSession; }
Swift
class DBOAuthManager : NSObject, DBAccessTokenRefreshing
-
Declaration
Objective-C
@interface DBAccessToken : NSObject <NSSecureCoding>
Swift
class DBAccessToken : NSObject, NSSecureCoding
-
Union result type from OAuth linking attempt.
See moreDeclaration
Objective-C
@interface DBOAuthResult : NSObject
Swift
class DBOAuthResult : NSObject
-
Platform-specific (here, macOS) shared application.
Renders OAuth flow and implements
See moreDBSharedApplication
protocol.Declaration
Objective-C
@interface DBDesktopSharedApplication : NSObject <DBSharedApplication>
Swift
class DBDesktopSharedApplication : NSObject, DBSharedApplication
-
Protocol implemented by platform-specific builds of the Obj-C SDK for properly rendering the OAuth linking flow.
See moreDeclaration
Objective-C
@protocol DBSharedApplication <NSObject>
Swift
protocol DBSharedApplication : NSObjectProtocol