ANNOUNCEMENT: Voyage AI joins MongoDB to power more accurate and trustworthy AI applications on Atlas.
Learn more
Docs Menu

Class UserIdentity

io.realm.mongodb.UserIdentity

Each User is represented by 1 or more identities each defined by an Credentials.Provider . This class represents the identity defined by a specific provider.

Modifier and Type
Method and Description

public boolean

public String

Returns a unique identifier for this identity.

Returns the provider defining this identity.

public int

public String

  • Methods inherited from class java.lang.Object : getClass , hashCode , equals , clone , toString , notify , notifyAll , wait , wait , wait , finalize

public boolean equals (
)

Overrides

equals in class Object

public String getId ()

Returns a unique identifier for this identity.

Returns

a unique identifier for this identifier.

Returns the provider defining this identity.

Returns

public int hashCode ()

Overrides

hashCode in class Object

public String toString ()

Overrides

toString in class Object