Docs Menu
Docs Home
/ /
Atlas Device SDKs
/ / /

Class UserIdentity

On this page

  • io.realm.mongodb
  • Method Summary
  • Inherited Methods
  • Method Detail
  • equals
  • getId
  • getProvider
  • hashCode
  • toString
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

← User.State