Class TimestampServiceImpl
java.lang.Object
com.github.scribejava.core.services.TimestampServiceImpl
- All Implemented Interfaces:
TimestampService
Implementation of
TimestampService using plain java classes.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNonce()Returns a nonce (unique value for each request)Returns the unix epoch timestamp in seconds
-
Constructor Details
-
TimestampServiceImpl
public TimestampServiceImpl()Default constructor.
-
-
Method Details
-
getNonce
Returns a nonce (unique value for each request)- Specified by:
getNoncein interfaceTimestampService- Returns:
- nonce
-
getTimestampInSeconds
Returns the unix epoch timestamp in seconds- Specified by:
getTimestampInSecondsin interfaceTimestampService- Returns:
- timestamp
-