OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
service_manager_auth Namespace Reference

Shared authentication policy for OpenRoadCode service-manager HTTP endpoints. More...

Functions

bool authorized (str|None header_value, str|None token)
 Return whether a request satisfies the configured bearer-token policy.
bool binding_allowed (str host, str|None token)
 Require authentication whenever the manager is reachable off-host.
bool same_device_request (str client_host, str server_host)
 Return whether both ends of the HTTP connection are on this device.

Detailed Description

Shared authentication policy for OpenRoadCode service-manager HTTP endpoints.