DropboxAccessToken

open class DropboxAccessToken : CustomStringConvertible, Codable

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

    open var description: String { get }