DropboxAccessToken

public class DropboxAccessToken : CustomStringConvertible, Codable
extension DropboxAccessToken: Equatable

A Dropbox access token

  • The access token string.

    Declaration

    Swift

    public let accessToken: String
  • uid

    The associated user id.

    Declaration

    Swift

    public let uid: String
  • The refresh token if accessToken is short-lived.

    Declaration

    Swift

    public let refreshToken: String?
  • The expiration time of the (short-lived) accessToken.

    Declaration

    Swift

    public let tokenExpirationTimestamp: TimeInterval?
  • Designated Initializer

    Declaration

    Swift

    public init(
        accessToken: String, uid: String,
        refreshToken: String? = nil, tokenExpirationTimestamp: TimeInterval? = nil
    )

    Parameters

    accessToken

    The access token string.

    uid

    The associated user id.

    refreshToken

    The refresh token if accessToken is short-lived.

    tokenExpirationTimestamp

    The expiration time of the (short-lived) accessToken.

  • Declaration

    Swift

    public var description: String { get }

DropboxAccessToken

  • Declaration

    Swift

    public static func == (lhs: DropboxAccessToken, rhs: DropboxAccessToken) -> Bool