split out auth info from conn info, return the jwt as the auth keys

This commit is contained in:
Conrad Ludgate
2024-09-17 14:32:59 +01:00
parent 08c7f933a3
commit 76515cdae3
4 changed files with 11 additions and 7 deletions

View File

@@ -309,6 +309,7 @@ impl NodeInfo {
#[cfg(any(test, feature = "testing"))]
ComputeCredentialKeys::Password(password) => self.config.password(password),
ComputeCredentialKeys::AuthKeys(auth_keys) => self.config.auth_keys(*auth_keys),
ComputeCredentialKeys::Jwt(_) => panic!("unsupported keys"),
ComputeCredentialKeys::None => &mut self.config,
};
}