public final class ConnectionKey extends Object implements Serializable
Connection instance.
A composite key that consists of the providerId (e.g. "facebook") plus providerUserId (e.g. "125660").
Provides the basis for connection equals() and hashCode().| Constructor and Description |
|---|
ConnectionKey(String providerId,
String providerUserId)
Creates a new
ConnectionKey. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getProviderId()
The id of the provider as it is registered in the system.
|
String |
getProviderUserId()
The id of the external provider user representing the remote end of the connection.
|
int |
hashCode() |
String |
toString() |
public ConnectionKey(String providerId, String providerUserId)
ConnectionKey.providerId - the id of the provider e.g. facebookproviderUserId - id of the provider user account e.g. '125660'public String getProviderId()
public String getProviderUserId()