Authentication

  • Manages access token storage and authentication

    Use the DropboxOAuthManager to authenticate users through OAuth2, save access tokens, and retrieve access tokens.

    @note OAuth flow webviews localize to enviroment locale.

    See more

    Declaration

    Swift

    public class DropboxOAuthManager : AccessTokenRefreshing

DropboxAccessToken

  • The result of an authorization attempt.

    See more

    Declaration

    Swift

    public enum DropboxOAuthResult : Equatable
  • A Dropbox access token

    See more

    Declaration

    Swift

    public class DropboxAccessToken : CustomStringConvertible, Codable
    extension DropboxAccessToken: Equatable
  • A failed authorization. Includes errors from both Implicit Grant (See RFC6749 4.2.2.1) and Extension Grants (See RFC6749 5.2), and a couple of SDK defined errors outside of OAuth2 specification.

    See more

    Declaration

    Swift

    public enum OAuth2Error : String, Error