KeyClient

com.malliina.web.KeyClient
class KeyClient[F[_]](val knownUrl: FullUrl, validator: TokenValidator, val http: HttpClient[F])(implicit evidence$1: Sync[F])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def fetchKeys(): F[Seq[KeyConf]]
def validate(token: TokenValue, now: Instant): F[Either[AuthError, Verified]]

Concrete fields

val http: HttpClient[F]
val knownUrl: FullUrl