using System.Threading; using System.Threading.Tasks; using GB5Shared.Vault; namespace GB5Shared.Auth.Jwt { public class JwtSigningKeyResolver : IJwtSigningKeyResolver { private readonly IVaultService _VaultService; public JwtSigningKeyResolver(IVaultService vaultService) => _VaultService = vaultService; public Task GetSigningKeyAsync(string vaultPath, CancellationToken ct) => _VaultService.GetSecretAsync(vaultPath, ct); } }