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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface TimestampService
      Returns:
      nonce
    • getTimestampInSeconds

      public java.lang.String getTimestampInSeconds()
      Returns the unix epoch timestamp in seconds
      Specified by:
      getTimestampInSeconds in interface TimestampService
      Returns:
      timestamp