Interface Server
Account is defined in a given
Server object.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionThe alternative base URLs for this server.baseUrl()The base URL of the server that the SDK will use to do in-band operations (Authentication,Deregistration,DeviceInformationChange, etc.)
-
Method Details
-
baseUrl
The base URL of the server that the SDK will use to do in-band operations (
Authentication,Deregistration,DeviceInformationChange, etc.)The endpoints are built using this URL and the paths specified in
Configuration(likeConfiguration.authenticationRequestPath()).- Returns:
- the base URL of the server.
- See Also:
-
alternativeBaseUrls
The alternative base URLs for this server. These are the other base URLs that can be used to perform operations on the user.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, the SDK will accept to do the out-of-band operation and will use the base URL to perform it.
The alternative base URLs are also used in the context of in-band registration, when there is already an authenticator for the user, and a server URL is provided using the
Registration.serverUrl(URI)method. In this case, the SDK will accept the operation only if the server URL matches either the base URL of theServerassociated with the user or any of the alternative base URLs.- Returns:
- the set of alternative base URLs
- See Also:
-