isConnected method in AccountConnectionRepository
I am building my own implementation of AccountConnectionRepository and it appears that a valuable method is missing. There is a
public boolean isConnected(Serializable accountId, String provider)
however there is no isConnected method for a specific provider account ID. This would be good in instances where a SpringSocial based application is used to manage a number of accounts for a given user with a specific provider. Eg: 1 user may have 3 twitter accounts. So perhaps a method such as:
public boolean isConnected(Serializable accountId, String provider, String providerAccountId)
is in order.
This would also correlate with the 2 disconnect methods, one which takes the providerAccountId as a parameter and one which does not.