Drain auth events for CDC consumption.
(&self)
| 105 | |
| 106 | /// Drain auth events for CDC consumption. |
| 107 | pub fn drain_auth(&self) -> Vec<AuditEntry> { |
| 108 | let mut buf = self.auth_buffer.write().unwrap_or_else(|p| p.into_inner()); |
| 109 | buf.drain(..).collect() |
| 110 | } |
| 111 | |
| 112 | /// Build a webhook payload with HMAC signature. |
| 113 | /// |
no test coverage detected