Unset the current user profile used to determine API endpoints.
(&mut self)
| 265 | |
| 266 | /// Unset the current user profile used to determine API endpoints. |
| 267 | pub fn unset_auth_profile(&mut self) -> Result<(), DatabaseError> { |
| 268 | self.delete_entry(Table::State, CODEWHISPERER_PROFILE_KEY)?; |
| 269 | self.delete_entry(Table::State, CUSTOMIZATION_STATE_KEY) |
| 270 | } |
| 271 | |
| 272 | /// Get the client ID used for telemetry requests. |
| 273 | pub fn get_client_id(&mut self) -> Result<Option<Uuid>, DatabaseError> { |