com.dyuproject.oauth
Class SimpleNonceAndTimestamp
java.lang.Object
com.dyuproject.oauth.SimpleNonceAndTimestamp
- All Implemented Interfaces:
- NonceAndTimestamp
public final class SimpleNonceAndTimestamp
- extends Object
- implements NonceAndTimestamp
A simple nonce and timestamp generator.
- Author:
- David Yu
- Date created:
- Jun 1, 2009
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT
public static final SimpleNonceAndTimestamp DEFAULT
- The default instance.
SimpleNonceAndTimestamp
public SimpleNonceAndTimestamp()
getDefault
public static SimpleNonceAndTimestamp getDefault()
- Gets the default instance.
put
public void put(UrlEncodedParameterMap params,
String consumerKey)
- Description copied from interface:
NonceAndTimestamp
- Puts the generated nonce and timestamp on the
params
which could optionally
be derived from the consumerKey
.
- Specified by:
put
in interface NonceAndTimestamp
Copyright © 2008-2013. All Rights Reserved.