public final class NonceManager extends Object
| Constructor and Description |
|---|
NonceManager(long maxAge,
int gcPeriod)
TODO: Description.
|
public NonceManager(long maxAge,
int gcPeriod)
maxAge - the maximum valid age of a nonce timestamp, in milliseconds.gcPeriod - verifications to perform on average before performing garbage collection.public boolean verify(String key, String timestamp, String nonce)
key - the oauth_consumer_key value for a given consumer requesttimestamp - the oauth_timestamp value for a given consumer request.nonce - the oauth_nonce value for a given consumer request.Copyright © 2013 Oracle Corporation. All Rights Reserved.