Server

public protocol Server : Encodable, Hashable

The object defining a server. Each Account is defined in a given Server object.

Important

The SDK does not support having identities with the same Username defined in different servers.

See

server
  • The base URL of the server.

    This is the base URL for the HTTP endpoints the SDK must interact with when dealing with the Accounts associated with this server.

    The endpoint is built using this URL and the paths specified in Configuration. (like authenticationRequestPath).

    Declaration

    Swift

    var baseUrl: URL { get }