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

Enum Credentials.Provider

On this page

  • io.realm.mongodb
  • Enum Constant Summary
  • Method Summary
  • Inherited Methods
  • Enum Constant Detail
  • ANONYMOUS
  • API_KEY
  • APPLE
  • CUSTOM_FUNCTION
  • EMAIL_PASSWORD
  • FACEBOOK
  • GOOGLE
  • JWT
  • UNKNOWN
  • Method Detail
  • fromId
  • getId
  • valueOf
  • values
java.lang.Object
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.

Tip

See also:

  • Authentication Providers

Enum Constant and Description
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 ()

Back

Credentials