Interface IClientKeyResolver
Resolves the public signing keys of a client application — the keys used to verify
something the client signed (a JAR request object per RFC 9101, a private_key_jwt
client assertion per RFC 7523).
Two sources, in this order:
inline — the JWKS pasted into the client record; — an absolute HTTPS URL fetched and cached.
They are mutually exclusive by the admin UI's contract (see ),
but if both are present the inline set wins: it is operator-controlled and needs no network call.
Asymmetric only. HMAC (HS*) cannot be supported:
stores a BCrypt hash, and verifying an HMAC signature needs the original secret, which is
unrecoverable by design. FAPI 2.0 forbids HS* for request objects anyway and mandates
PS256/ES256, so this is a correctness boundary rather than a gap.
public interface IClientKeyResolver
Methods
GetJsonWebKeySetAsync(RedbObject<ApplicationProps>, bool, CancellationToken)
The same keys as , as the key set itself (inline, or the cached
ValueTask<JsonWebKeySet?> GetJsonWebKeySetAsync(RedbObject<ApplicationProps> application, bool forceRefresh = false, CancellationToken cancellationToken = default)
GetSigningKeysAsync(RedbObject<ApplicationProps>, bool, CancellationToken)
Returns the client's public signing keys, or an empty collection when the client has
ValueTask<IReadOnlyCollection<SecurityKey>> GetSigningKeysAsync(RedbObject<ApplicationProps> application, bool forceRefresh = false, CancellationToken cancellationToken = default)