DropboxCredentials

public class DropboxCredentials : GenericCredentials
  • A unique identifier for the user. E.g., for Google this is their sub.

    Declaration

    Swift

    public var userId: String { get }
  • This is sent to the server as a human-readable means to identify the user.

    Declaration

    Swift

    public var username: String { get }
  • A name suitable for identifying the user via the UI. If available this should be the users email. Otherwise, it could be the same as the username.

    Declaration

    Swift

    public var uiDisplayName: String { get }
  • Declaration

    Swift

    public var httpRequestHeaders: [String : String] { get }
  • Dropbox doesn’t have a creds refresh.

    Declaration

    Swift

    public func refreshCredentials(completion: @escaping (SyncServerError?) ->())