Generates a random string
()
| 391 | |
| 392 | /// Generates a random string |
| 393 | pub fn random_jwt_secret() -> String { |
| 394 | rand::rng().sample_iter(&Alphanumeric).take(32).map(char::from).collect() |
| 395 | } |
| 396 | |
| 397 | /// Returns the user agent from the request headers or an empty string if not |
| 398 | /// present |
no outgoing calls
no test coverage detected