Get the auth token from this client if available.
(&self)
| 1731 | |
| 1732 | /// Get the auth token from this client if available. |
| 1733 | pub async fn get_auth_token(&self) -> Option<String> { |
| 1734 | self.worker.auth_token.lock().await.clone() |
| 1735 | } |
| 1736 | } |
| 1737 | |
| 1738 | impl Drop for Client { |