User

public struct User : Codable, Equatable

An authenticated user.

  • id

    A unique user identifier.

    Declaration

    Swift

    public let id: UInt64
  • An OAuth access token.

    Declaration

    Swift

    public let token: String
  • Uniquely identifies the server region hosting the user’s account. You can use the APIServerRegion enum to make sense of these.

    Declaration

    Swift

    public let serverRegionId: UInt
  • The host name of the primary HTTP API at the user’s server region.

    Declaration

    Swift

    public let httpAPIHostName: String