public class ExternalIdentityRef
extends java.lang.Object
ExternalIdentityRef
defines a reference to an external identity.Constructor and Description |
---|
ExternalIdentityRef(java.lang.String id,
java.lang.String providerName)
Creates a new external identity ref with the given id and provider name
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Tests if the given object is an external identity reference and if it's
getString() is equal to this.
|
static ExternalIdentityRef |
fromString(java.lang.String str)
Creates an external identity reference from a string representation.
|
java.lang.String |
getId()
Returns the id of the external identity.
|
java.lang.String |
getProviderName()
Returns the name of the identity provider.
|
java.lang.String |
getString()
Returns a string representation of this external identity reference
|
int |
hashCode() |
java.lang.String |
toString() |
public ExternalIdentityRef(java.lang.String id, java.lang.String providerName)
id
- the id of the identity.providerName
- the name of the identity providerpublic java.lang.String getProviderName()
public java.lang.String getId()
public java.lang.String getString()
public static ExternalIdentityRef fromString(java.lang.String str)
str
- the stringpublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
id
and provider
fields in the comparison as
the string representation already incorporates both.equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
this.getString().hashCode()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"