Class OffsetTimeProvider

java.lang.Object
org.keycloak.protocol.oid4vc.issuance.OffsetTimeProvider
All Implemented Interfaces:
TimeProvider

public class OffsetTimeProvider extends Object implements TimeProvider
Implementation of the TimeProvider that delegates calls to the common Time class.
  • Constructor Details

    • OffsetTimeProvider

      public OffsetTimeProvider()
  • Method Details

    • currentTimeSeconds

      public int currentTimeSeconds()
      Description copied from interface: TimeProvider
      Returns current time in seconds
      Specified by:
      currentTimeSeconds in interface TimeProvider
      Returns:
      see description
    • currentTimeMillis

      public long currentTimeMillis()
      Description copied from interface: TimeProvider
      Returns current time in milliseconds
      Specified by:
      currentTimeMillis in interface TimeProvider
      Returns:
      see description