/** * Sets the nonce, a value that should be unique for a given timestamp. */ public void setNonce(String nonce) { put(NONCE, nonce); }
/** * Sets the consumer key. */ public void setConsumerKey(String consumerKey) { put(CONSUMER_KEY, consumerKey); }
/** * Sets the protection realm for the request. */ public void setRealm(String realm) { put(REALM, realm); }
/** * Sets the timestamp. Its value is not validated, but should be a * positive integer, typically containing the number of seconds since * January 1, 1970 00:00:00 GMT (epoch). */ public void setTimestamp(String timestamp) { put(TIMESTAMP, timestamp); }
/** * Sets the protocol version. */ public void setVersion(String version) { put(VERSION, version); }
/** * Sets the consumer key. */ public void setConsumerKey(String consumerKey) { put(CONSUMER_KEY, consumerKey); }
/** * Sets the signature for the request. */ public void setSignature(String signature) { put(SIGNATURE, signature); }
/** * Sets the callback URL. */ public void setCallback(String callback) { put(CALLBACK, callback); }
/** * Sets the protection realm for the request. */ public void setRealm(String realm) { put(REALM, realm); }
/** * Sets the verifier code. */ private void setVerifier(String verifier) { put(VERIFIER, verifier); }
/** * Sets the signature method used to sign the request. */ public void setSignatureMethod(String signatureMethod) { put(SIGNATURE_METHOD, signatureMethod); }
/** * Sets the request or access token. */ public void setToken(String token) { put(TOKEN, token); }
/** * Sets the nonce, a value that should be unique for a given timestamp. */ public void setNonce(String nonce) { put(NONCE, nonce); }
/** * Sets the verifier code. */ public void setVerifier(String verifier) { put(VERIFIER, verifier); }
/** * Sets the signature method used to sign the request. */ public void setSignatureMethod(String signatureMethod) { put(SIGNATURE_METHOD, signatureMethod); }
/** * Sets the signature for the request. */ public void setSignature(String signature) { put(SIGNATURE, signature); }
/** * Sets the timestamp. Its value is not validated, but should be a * positive integer, typically containing the number of seconds since * January 1, 1970 00:00:00 GMT (epoch). */ public void setTimestamp(String timestamp) { put(TIMESTAMP, timestamp); }
/** * Sets the protocol version. */ public void setVersion(String version) { put(VERSION, version); }
/** * Sets the request or access token. */ public void setToken(String token) { if (token == null) { remove(TOKEN); } else { put(TOKEN, token); } }