Skip to main content

resolve_auth_mode

Function
This function is defined in the protocols module.
Resolve authentication mode based on bind host and explicit configuration.

Signature

Parameters

str
required
Host/IP that the service is bound to
Optional[AuthMode]
Explicitly configured auth mode (takes precedence)

Returns

AuthMode
The resolved authentication mode

Usage

Uses

  • is_loopback

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 1987