Enum Credentials.Provider
On this page
io.realm.mongodb
Enclosing class:
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.
Enum Constant Summary
Enum Constant and Description |
---|
Method Summary
Modifier and Type | Method and Description |
---|---|
public static Credentials.Provider | |
public String | getId () Return the string presentation of this identity provider. |
public static Credentials.Provider | |
public static Credentials.Provider | values () |
Inherited Methods
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
Enum Constant Detail
ANONYMOUS
public static final Credentials.Provider
API_KEY
public static final Credentials.Provider
APPLE
public static final Credentials.Provider
CUSTOM_FUNCTION
public static final Credentials.Provider
EMAIL_PASSWORD
public static final Credentials.Provider
FACEBOOK
public static final Credentials.Provider
GOOGLE
public static final Credentials.Provider
JWT
public static final Credentials.Provider
UNKNOWN
public static final Credentials.Provider
Method Detail
fromId
Create the identity provider from the ID string returned by MongoDB Realm. Parameters
Returns the enum representing the provider or UNKNOWN if no matching provider was found. |
getId
valueOf
values
public static Credentials.Provider values () |
---|