My application needs to manage several connection for the same provider for one user of my application.
Among these Connection, I'd like to let my user which one is the "primary" connection (ie. the one returned by ConnectionRepository.getPrimaryConnection(apiType) , or the one with rank=1).
But from what I read in the documentation and in the code, there is no such functionality (changing the rank of a Connection, the rank field does not seem to be accessible).
Besides if the user remove the Connection with the rank 1, future calls to ConnectionRepository.getPrimaryConnection(apiType) will throw an exception, even if there is still a Connection of the type apiType.
Am I correct?
Thanks you very much