Package io.objectbox.sync
Enum SyncCredentials.CredentialsType
- java.lang.Object
-
- java.lang.Enum<SyncCredentials.CredentialsType>
-
- io.objectbox.sync.SyncCredentials.CredentialsType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SyncCredentials.CredentialsType>
- Enclosing class:
- SyncCredentials
public static enum SyncCredentials.CredentialsType extends java.lang.Enum<SyncCredentials.CredentialsType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GOOGLEJWT_ACCESS_TOKENJWT_CUSTOM_TOKENJWT_ID_TOKENJWT_REFRESH_TOKENNONEOBX_ADMIN_USERSHARED_SECRET_SIPPEDUSER_PASSWORD
-
Field Summary
Fields Modifier and Type Field Description longid
-
Constructor Summary
Constructors Modifier Constructor Description privateCredentialsType(long id)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SyncCredentials.CredentialsTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SyncCredentials.CredentialsType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final SyncCredentials.CredentialsType NONE
-
GOOGLE
public static final SyncCredentials.CredentialsType GOOGLE
-
SHARED_SECRET_SIPPED
public static final SyncCredentials.CredentialsType SHARED_SECRET_SIPPED
-
OBX_ADMIN_USER
public static final SyncCredentials.CredentialsType OBX_ADMIN_USER
-
USER_PASSWORD
public static final SyncCredentials.CredentialsType USER_PASSWORD
-
JWT_ID_TOKEN
public static final SyncCredentials.CredentialsType JWT_ID_TOKEN
-
JWT_ACCESS_TOKEN
public static final SyncCredentials.CredentialsType JWT_ACCESS_TOKEN
-
JWT_REFRESH_TOKEN
public static final SyncCredentials.CredentialsType JWT_REFRESH_TOKEN
-
JWT_CUSTOM_TOKEN
public static final SyncCredentials.CredentialsType JWT_CUSTOM_TOKEN
-
-
Method Detail
-
values
public static SyncCredentials.CredentialsType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SyncCredentials.CredentialsType c : SyncCredentials.CredentialsType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SyncCredentials.CredentialsType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-