class unified_auth_handler :?insecure:bool -> #key_handler ->
auth_handler
Support both digest and basic authentication, with preference to
digest. By default, basic authentication is only enabled over
TLS connections. You can enable basic authentication for normal
connections with the insecure
option.
In the future this class will also enable other secure authentication methods such as SCRAM or Digest with more secure hash functions. (The RFCs for these methods are not yet published.)
Note that there is no way of enabling the skip_challenge
mode,
as it is not known in advance which mechanism will be used.