Skip to main content

Module auth

Module auth 

Source

Functionsยง

check_auth
Check authentication on an HTTP request. Returns Ok(()) if authenticated, Err(response) with 401 if not.
check_ws_auth
Check WebSocket auth via query parameter ?token=....