OAuth

OAuth manager base (iOS)

OAuth manager base

  • Platform-neutral manager for performing OAuth linking.

    Note

    OAuth flow webviews localize to environment locale.
    See more

    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

Access token class

  • A Dropbox OAuth2 access token.

    Stores a unique identifying key for storing in DBKeychain.

    See more

    Declaration

    Objective-C

    @interface DBAccessToken : NSObject <NSSecureCoding>

    Swift

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

    See more

    Declaration

    Objective-C

    @interface DBOAuthResult : NSObject

    Swift

    class DBOAuthResult : NSObject

Shared application