Package io.objectbox.sync
Class CredentialsType
java.lang.Object
io.objectbox.sync.CredentialsType
Credentials types for login at a sync server.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intGoogle Auth ID tokenstatic final intUsed to indicate an uninitialized variable.static final intJSON Web Token (JWT): an access token that is used to access resources.static final intJSON Web Token (JWT): a token that is neither an ID, access, nor refresh token.static final intJSON Web Token (JWT): an ID token that typically provides identity information about the authenticated user.static final intJSON Web Token (JWT): a refresh token that is used to obtain a new access token.static final intNo credentials required; do not use for public/production servers.static final intUse ObjectBox Admin users for Sync authentication.static final intDeprecated, replaced by SHARED_SECRET_SIPPEDstatic final intUse shared secret to create a SipHash and make attacks harder than just copy&paste.static final intGeneric credential type suitable for ObjectBox admin (and possibly others in the future) -
Method Summary
-
Field Details
-
Invalid
public static final int InvalidUsed to indicate an uninitialized variable. Should never be sent/received in a message.- See Also:
-
None
public static final int NoneNo credentials required; do not use for public/production servers. This is useful for testing and during development.- See Also:
-
GoogleAuth
public static final int GoogleAuthGoogle Auth ID token- See Also:
-
ObxAdminUser
public static final int ObxAdminUserUse ObjectBox Admin users for Sync authentication.- See Also:
-
UserPassword
public static final int UserPasswordGeneric credential type suitable for ObjectBox admin (and possibly others in the future)- See Also:
-
JwtId
public static final int JwtIdJSON Web Token (JWT): an ID token that typically provides identity information about the authenticated user.- See Also:
-
JwtAccess
public static final int JwtAccessJSON Web Token (JWT): an access token that is used to access resources.- See Also:
-
JwtRefresh
public static final int JwtRefreshJSON Web Token (JWT): a refresh token that is used to obtain a new access token.- See Also:
-
JwtCustom
public static final int JwtCustomJSON Web Token (JWT): a token that is neither an ID, access, nor refresh token.- See Also:
-