pub trait SshResolver: Send + Sync {
// Required method
fn resolve(&self, operation: SshOperation) -> Result<SshAuth, ApiError>;
}Expand description
Hook called once per LFS API request to resolve SSH-mediated auth.
Implementations are typically backed by a git-lfs-authenticate
invocation with a small in-memory cache keyed on (host, path, operation) so the SSH command runs at most once per cache TTL.