public static class Auth.TokenRequest extends Auth.TokenParams
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
keyName
The keyName of the key against which this request is made.
|
java.lang.String |
mac
The Message Authentication Code for this request.
|
java.lang.String |
nonce
An opaque nonce string of at least 16 characters to ensure
uniqueness of this request.
|
capability, clientId, timestamp, ttl| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonObject |
asJSON()
Internal; convert a TokenParams into a JSON object.
|
static Auth.TokenRequest |
fromJSON(com.google.gson.JsonObject json)
Internal; convert a JSON response body to a TokenParams.
|
asParamspublic java.lang.String keyName
public java.lang.String nonce
public java.lang.String mac
public static Auth.TokenRequest fromJSON(com.google.gson.JsonObject json)
json - public com.google.gson.JsonObject asJSON()