Skip to main content

Module auth

Module auth 

Source
Expand description

Utility functions related to authentication and/or authorization in the client-server API.

Structs§

AccountActionNotAuthorized

Functions§

check_user_matches
Returns a [ErrorKind::Forbidden] error response (with HTTP status 403 - Forbidden) if the two given user IDs differ.