UiAdapterRegistry.withRemotes constructor

UiAdapterRegistry.withRemotes(
  1. List<RemoteUiAdapter> remoteAdapters
)

Creates a registry with the given remote UI adapters.

Adapters are ordered by priority - the first authenticated adapter becomes the activeRemote.

Implementation

UiAdapterRegistry.withRemotes(List<RemoteUiAdapter> remoteAdapters)
    : _remoteAdapters = List.unmodifiable(remoteAdapters);