public abstract class ServiceCreds extends Credentials
Credentials.HasLanguage, Credentials.HasMachineIdentStreamable.Closure| Modifier and Type | Field and Description |
|---|---|
String |
clientId
The id of the service client that is authenticating.
|
| Constructor and Description |
|---|
ServiceCreds()
Used when unserializing an instance from the network.
|
ServiceCreds(String clientId,
String sharedSecret)
Creates credentials for the specified client.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
areValid(String sharedSecret)
Validates that these credentials were created with the supplied shared secret.
|
String |
toString() |
getDatagramSecretpublic String clientId
Copyright © 2015. All rights reserved.