Skip to content

Commit

Permalink
rename authenticate_agent to authenticate_publickey_with
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeny committed Nov 3, 2024
1 parent 791db1e commit a02871a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions russh/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -383,9 +383,8 @@ impl<H: Handler> Handle<H> {

/// Authenticate using a custom method that implements the
/// [`Signer`][auth::Signer] trait. Currently, this crate only provides an
/// implementation for an [SSH
/// agent][russh_keys::agent::client::AgentClient].
pub async fn authenticate_agent<U: Into<String>, S: auth::Signer>(
/// implementation for an [SSH agent][russh_keys::agent::client::AgentClient].
pub async fn authenticate_publickey_with<U: Into<String>, S: auth::Signer>(
&mut self,
user: U,
key: ssh_key::PublicKey,
Expand Down

0 comments on commit a02871a

Please sign in to comment.