Package io.objectbox.sync
Class SyncCredentials
java.lang.Object
io.objectbox.sync.SyncCredentials
- Direct Known Subclasses:
SyncCredentialsToken
Use the static helper methods to build Sync credentials,
for example
SyncCredentials.sharedSecret("secret").-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SyncCredentialsAuthenticate with a Google account ID token obtained via Google Sign-In.static SyncCredentialsnone()No authentication, unsecured.static SyncCredentialssharedSecret(byte[] secret) Authenticate with a shared secret.static SyncCredentialssharedSecret(String secret) Authenticate with a shared secret.
-
Method Details
-
google
Authenticate with a Google account ID token obtained via Google Sign-In. -
none
No authentication, unsecured. Use only for development and testing purposes.