Expand description
Utility functions related to authentication and/or authorization in the client-server API.
Structs§
Functions§
- check_
user_ matches - Returns a [ErrorKind::Forbidden] error response (with HTTP status
403 - Forbidden) if the two given user IDs differ.