OAuth

  • Platform-neutral manager for performing OAuth linking.

    Note

    OAuth flow webviews localize to environment locale.
    See more

    Declaration

    Objective-C

    @interface DBOAuthManager : NSObject {
      NSString *_appKey;
      NSURL *_redirectURL;
      NSURL *_cancelURL;
      NSString *_host;
      NSMutableArray<NSURL *> *_urls;
    }

    Swift

    class DBOAuthManager : NSObject
  • A Dropbox OAuth2 access token.

    Stores a unique identifying key for storing in DBKeychain.

    See more

    Declaration

    Objective-C

    @interface DBAccessToken : NSObject

    Swift

    class DBAccessToken : NSObject
  • Union result type from OAuth linking attempt.

    See more

    Declaration

    Objective-C

    @interface DBOAuthResult : NSObject

    Swift

    class DBOAuthResult : NSObject
  • Protocol implemented by platform-specific builds of the Obj-C SDK for properly rendering the OAuth linking flow.

    See more

    Declaration

    Objective-C

    @protocol DBSharedApplication <NSObject>

    Swift

    protocol DBSharedApplication : NSObjectProtocol