RemoteStorage.Discover

This function deals with the Webfinger lookup, discovering a connecting user’s storage details.

The discovery timeout can be configured via `RemoteStorage.config.discoveryTimeout` (in ms).

Arguments

userAddressuser@host

Returns

A promise for an object with the following properties.

hrefStorage base URL,
storageTypeStorage type,
authUrlOAuth URL,
propertiesWebfinger link properties
Close