Docs Menu

Enum Credentials.Provider

io.realm.mongodb.Credentials.Provider

Enclosing class:

Credentials

This enum contains the list of identity providers supported by MongoDB Realm. All of these except EMAIL_PASSWORD must be enabled manually on MongoDB Realm to work.

Modifier and Type
Method and Description

public static Credentials.Provider

Create the identity provider from the ID string returned by MongoDB Realm.

public String

Return the string presentation of this identity provider.

public static Credentials.Provider

public static Credentials.Provider

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

  • Methods inherited from class java.lang.Enum : name , ordinal , toString , equals , hashCode , clone , compareTo , getDeclaringClass , valueOf , finalize

public static final Credentials.Provider

public static final Credentials.Provider

public static final Credentials.Provider

public static final Credentials.Provider

public static final Credentials.Provider

public static final Credentials.Provider

public static final Credentials.Provider

public static final Credentials.Provider

public static final Credentials.Provider

Create the identity provider from the ID string returned by MongoDB Realm.

Parameters

  • id - the string identifier for the provider

Returns

the enum representing the provider or UNKNOWN if no matching provider was found.

public String getId ()

Return the string presentation of this identity provider.

String name
)
public static Credentials.Provider values ()