@Experimental
public class SyncCredentials
extends java.lang.Object
SyncCredentials.sharedSecret("secret").| Modifier and Type | Class and Description |
|---|---|
static class |
SyncCredentials.CredentialsType |
| Modifier and Type | Method and Description |
|---|---|
static SyncCredentials |
google(java.lang.String idToken)
Authenticate with a Google account ID token obtained via
Google Sign-In.
|
static SyncCredentials |
none()
No authentication, unsecured.
|
static SyncCredentials |
sharedSecret(byte[] secret)
Authenticate with a shared secret.
|
static SyncCredentials |
sharedSecret(java.lang.String secret)
Authenticate with a shared secret.
|
public static SyncCredentials sharedSecret(java.lang.String secret)
public static SyncCredentials sharedSecret(byte[] secret)
public static SyncCredentials google(java.lang.String idToken)
public static SyncCredentials none()