All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ocadotechnology.sttp.oauth2.cache.ExpiringCache.scala Maven / Gradle / Ivy

package org.polyvariant.sttp.oauth2.cache

import java.time.Instant

trait ExpiringCache[F[_], K, V] {
  def get(key: K): F[Option[V]]

  def put(key: K, value: V, expirationTime: Instant): F[Unit]

  def remove(key: K): F[Unit]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy