Package io.realm.mongodb
Class UserIdentity
- java.lang.Object
-
- io.realm.mongodb.UserIdentity
-
public class UserIdentity extends Object
Each User is represented by 1 or more identities each defined by anCredentials.Provider
. This class represents the identity defined by a specific provider.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getId()
Returns a unique identifier for this identity.Credentials.Provider
getProvider()
Returns the provider defining this identity.int
hashCode()
String
toString()
-
-
-
Method Detail
-
getId
public String getId()
Returns a unique identifier for this identity.- Returns:
- a unique identifier for this identifier.
-
getProvider
public Credentials.Provider getProvider()
Returns the provider defining this identity.- Returns:
-
-