newAlternativeBaseUrls abstract method
Specifies the alternative base URLs of the server. If not provided, the alternative base URLs of the Server associated with the account will not be changed.
IMPORTANT
Providing at least one of the newBaseUrl or newAlternativeBaseUrls is
required.
NOTE
When provided, this replaces the account's entire current set of alternative
base URLs. It does not extend or merge with it. To add a new alternative
base URL while keeping the existing ones, pass the full desired set, including
the URLs already associated with the account (see Server.alternativeBaseUrls).
The alternative base URLs are used for out-of-band operations. If the redeem URL of an out-of-band payload has a base URL matching one of the alternative base URLs, then the SDK will use that base URL to perform the out-of-band operation.
The alternative base URLs are also used for in-band registration when there is already an authenticator for the user being registered. The SDK will accept to use any of the alternative base URLs to do the operation (see Registration.serverUrl).
Params:
- newAlternativeBaseUrls: the alternative base URLs.
Returns: an UpdateServer object.
Implementation
UpdateServer newAlternativeBaseUrls(Set<String> newAlternativeBaseUrls);