package com.airlock.iam.common.domain.service.jwt.signature;

import com.airlock.iam.base.api.domain.model.exception.FailureException;
import com.airlock.iam.common.domain.model.jwk.JsonWebKeySet;
import java.net.URI;

public interface RemoteJWKSetLoader {
   RemoteJWKSetLoader.RemoteJsonWebKeySet getJsonWebKeySet(URI var1) throws FailureException;

   JsonWebKeySet reloadJsonWebKeySet(URI var1) throws FailureException;

   record RemoteJsonWebKeySet(JsonWebKeySet keyset, boolean hasBeenRefreshed) {
   }
}
