Skip to main content

AuthProvider

Trait AuthProvider 

Source
pub trait AuthProvider {
    // Required method
    fn authorize_public_key(
        &mut self,
        username: &[u8],
        algorithm: &[u8],
        public_key: &[u8],
        signed_data: &[u8],
        signature: &[u8],
    ) -> Result<bool>;
}

Required Methods§

Source

fn authorize_public_key( &mut self, username: &[u8], algorithm: &[u8], public_key: &[u8], signed_data: &[u8], signature: &[u8], ) -> Result<bool>

Implements authorize public key.

Implementors§