/** * Builder pattern method to return {@link OAuthParameters} after setting * nonce to a randomly-generated UUID. * * @return this parameters object. */ public OAuthParameters nonce() { setNonce(); return this; }
/** * Builder pattern method to return {@link Parameters} after setting * nonce to a randomly-generated UUID. * * @param nonce a value that should be unique for a given timestamp. * @return this parameters object. */ public OAuthParameters nonce() { setNonce(); return this; }
/** * Builder pattern method to return {@link OAuthParameters} after setting * nonce. * * @param nonce a value that should be unique for a given timestamp. * @return this parameters object. */ public OAuthParameters nonce(String nonce) { setNonce(nonce); return this; }
/** * Builder pattern method to return {@link Parameters} after setting * nonce. * * @param nonce a value that should be unique for a given timestamp. * @return this parameters object. */ public OAuthParameters nonce(String nonce) { setNonce(nonce); return this; }
/** * Sets the nonce to contain a randomly-generated UUID. */ public void setNonce() { setNonce(UUID.randomUUID().toString()); }
/** * Sets the nonce to contain a randomly-generated UUID. */ public void setNonce() { setNonce(UUID.randomUUID().toString()); }