Class CredentialsType

java.lang.Object
io.objectbox.sync.CredentialsType

public final class CredentialsType extends Object
Credentials types for login at a sync server.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Google Auth ID token
    static final int
    Used to indicate an uninitialized variable.
    static final int
    No credentials required; do not use for public/production servers.
    static final int
    Use ObjectBox Admin users for Sync authentication.
    static final int
    Deprecated, replaced by SHARED_SECRET_SIPPED
    static final int
    Use shared secret to create a SipHash and make attacks harder than just copy&paste.
    static final int
    Generic credential type suitable for ObjectBox admin (and possibly others in the future)
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • Invalid

      public static final int Invalid
      Used to indicate an uninitialized variable. Should never be sent/received in a message.
      See Also:
    • None

      public static final int None
      No credentials required; do not use for public/production servers. This is useful for testing and during development.
      See Also:
    • SharedSecret

      public static final int SharedSecret
      Deprecated, replaced by SHARED_SECRET_SIPPED
      See Also:
    • GoogleAuth

      public static final int GoogleAuth
      Google Auth ID token
      See Also:
    • SharedSecretSipped

      public static final int SharedSecretSipped
      Use shared secret to create a SipHash and make attacks harder than just copy&paste. (At some point we may want to switch to crypto & challenge/response.)
      See Also:
    • ObxAdminUser

      public static final int ObxAdminUser
      Use ObjectBox Admin users for Sync authentication.
      See Also:
    • UserPassword

      public static final int UserPassword
      Generic credential type suitable for ObjectBox admin (and possibly others in the future)
      See Also: