Class TimestampServiceImpl
- java.lang.Object
-
- com.github.scribejava.core.services.TimestampServiceImpl
-
- All Implemented Interfaces:
TimestampService
public class TimestampServiceImpl extends java.lang.Object implements TimestampService
Implementation ofTimestampServiceusing plain java classes.
-
-
Constructor Summary
Constructors Constructor Description TimestampServiceImpl()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetNonce()Returns a nonce (unique value for each request)java.lang.StringgetTimestampInSeconds()Returns the unix epoch timestamp in seconds
-
-
-
Method Detail
-
getNonce
public java.lang.String getNonce()
Returns a nonce (unique value for each request)- Specified by:
getNoncein interfaceTimestampService- Returns:
- nonce
-
getTimestampInSeconds
public java.lang.String getTimestampInSeconds()
Returns the unix epoch timestamp in seconds- Specified by:
getTimestampInSecondsin interfaceTimestampService- Returns:
- timestamp
-
-