Class OffsetTimeProvider
java.lang.Object
org.keycloak.protocol.oid4vc.issuance.OffsetTimeProvider
- All Implemented Interfaces:
TimeProvider
Implementation of the
TimeProvider that delegates calls to the common Time class.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns current time in millisecondsintReturns current time in seconds
-
Constructor Details
-
OffsetTimeProvider
public OffsetTimeProvider()
-
-
Method Details
-
currentTimeSeconds
public int currentTimeSeconds()Description copied from interface:TimeProviderReturns current time in seconds- Specified by:
currentTimeSecondsin interfaceTimeProvider- Returns:
- see description
-
currentTimeMillis
public long currentTimeMillis()Description copied from interface:TimeProviderReturns current time in milliseconds- Specified by:
currentTimeMillisin interfaceTimeProvider- Returns:
- see description
-