pub async fn auth<E>( client: &impl Client, endpoint: E, ) -> Result<AuthInfo, ClientError>where E: Endpoint<Response = ()>,