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 of
TimestampService
using plain java classes.-
Constructor Summary
Constructors Constructor Description TimestampServiceImpl()
Default constructor. -
Method Summary
Modifier and Type Method Description java.lang.String
getNonce()
Returns a nonce (unique value for each request)java.lang.String
getTimestampInSeconds()
Returns the unix epoch timestamp in seconds
-
Constructor Details
-
TimestampServiceImpl
public TimestampServiceImpl()Default constructor.
-
-
Method Details
-
getNonce
public java.lang.String getNonce()Returns a nonce (unique value for each request)- Specified by:
getNonce
in interfaceTimestampService
- Returns:
- nonce
-
getTimestampInSeconds
public java.lang.String getTimestampInSeconds()Returns the unix epoch timestamp in seconds- Specified by:
getTimestampInSeconds
in interfaceTimestampService
- Returns:
- timestamp
-