For NetOrk/netork#662 (decided 2026-11-28: OPNsense next, and the weaker way in decides).
login_sources: LoginSourceDict (name, kind in the device's own words, factors: password | password_otp | external | unknown, all four in LOGIN_FACTORS) and WebLoginAuthDict (sources, in the device's order), the shape a driver's get_web_login_auth returns. There is no mixin, so hasattr stays truthful.
SshServerAuthDict takes two optional keys, password_sources and server_enabled, for a platform that writes sshd_config itself (OPNsense). They sit in a total=False base, because NotRequired under postponed annotations is invisible at runtime.
Version 4.50.0, CHANGELOG and README.
Tests: tests/test_login_sources.py; the full suite passes (2029).
For NetOrk/netork#662 (decided 2026-11-28: OPNsense next, and the weaker way in decides).
- `login_sources`: `LoginSourceDict` (`name`, `kind` in the device's own words, `factors`: `password` | `password_otp` | `external` | `unknown`, all four in `LOGIN_FACTORS`) and `WebLoginAuthDict` (`sources`, in the device's order), the shape a driver's `get_web_login_auth` returns. There is no mixin, so `hasattr` stays truthful.
- `SshServerAuthDict` takes two optional keys, `password_sources` and `server_enabled`, for a platform that writes sshd_config itself (OPNsense). They sit in a `total=False` base, because `NotRequired` under postponed annotations is invisible at runtime.
- Version 4.50.0, CHANGELOG and README.
Tests: `tests/test_login_sources.py`; the full suite passes (2029).
LoginSourceDict names one source with the device's word for its kind and what
it asks for: password, password_otp, external or unknown. WebLoginAuthDict is
what a driver's get_web_login_auth returns, every source the web interface
tries, in the device's order. SshServerAuthDict takes password_sources and
server_enabled for a platform that writes sshd_config itself.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
For NetOrk/netork#662 (decided 2026-11-28: OPNsense next, and the weaker way in decides).
login_sources:LoginSourceDict(name,kindin the device's own words,factors:password|password_otp|external|unknown, all four inLOGIN_FACTORS) andWebLoginAuthDict(sources, in the device's order), the shape a driver'sget_web_login_authreturns. There is no mixin, sohasattrstays truthful.SshServerAuthDicttakes two optional keys,password_sourcesandserver_enabled, for a platform that writes sshd_config itself (OPNsense). They sit in atotal=Falsebase, becauseNotRequiredunder postponed annotations is invisible at runtime.Tests:
tests/test_login_sources.py; the full suite passes (2029).