JMap.Server.getIdentityProviderById
Returns the specified Identity Provider. Provider Ids can be derived from JMap.Server.getAllIdentityProvidersById
the provider identity id
JMap.Server.getMinimumVersion
Returns the minimum server version required by NG to work fine.
JMap.Server.getShortVersion
Returns a normalized string identifying the major version of the JMap Server to which JMap NG is currently connected to. Returns an empty string if the server is not yet connected.
JMap.Server.getType
Returns the server type.
JMap.Server.getVersion
Returns the server version.
JMap.Server.isLegacy
Returns true if the server is a JMap 7 instance.
JMap.Server.isMinimumVersionRespected
Returns true if the current version of the server is lower than the minimum server version required by NG.
if not passed will use the current one
JMap.Server.isReady
Returns a string identifying the full version of the JMap Server to which JMap NG is currently connected to. Returns an empty string if the server is not yet connected.
JMap.Server.isSaas
Returns true if the server is a JMap Cloud instance.
JMap.Server.isStandardLoginAvailable
Returns true is the standard JMap User Manager is available for authentication, false otherwise.
JMap.Server.getAllIdentityProvidersById
Returns all the Identity Provider supported by the system, in an object keyed by provider Id
if the server is not ready (info from server has not been fetched). Call JMap.Server.isReady() to know this information.
console.log(JMap.Server.getAllIdentityProvidersById()) // {idp-0: {id: "idp-0", loginUrl: "https://[...]", ...}, ... }