pub(crate) fn auth_response_body<T: DeserializeOwned>(
        &self,
        mechanism_name: &str,
    ) -> Result<T> {
        self.body()
            .map_err(|_| Error::invalid_authentication_response(mechanism_name))
    }
/// Deserialize the body of this response, returning an authentication error if it fails.
Deserialize the body of this response, returning an authentication error if it fails.
Deserialize the body of this response returning an authentication error if it fails .
pub(crate) fn auth_response_body<T: DeserializeOwned>(
        &self,
        mechanism_name: &str,
    ) -> Result<T> {
        self.body()
            .map_err(|_| Error::invalid_authentication_response(mechanism_name))
    }
pub ( crate ) fn auth_response_body < T : DeserializeOwned > ( & self , mechanism_name : & str , ) -> Result < T > { self . body ( ) . map_err ( | _ | Error :: invalid_authentication_response ( mechanism_name ) ) }
Deserialize the body of this response, returning an authentication error if it fails.
Deserialize the body of this response returning an authentication error if it fails .
&self
mechanism_name
&str
&self
mechanism_name
&str