module
ShellyplugExporter::Gen::Helper::DigestAuthHelper
Defined in:
shellyplug_exporter/gen/helper/digest_auth_helper.crConstant Summary
-
PARAM_PATTERN =
/(\w+)\s*=\s*(?:"([^"]*)"|([^,\s]+))/ -
Matches
key="quoted value"and barekey=valuepairs. A bare value must stop at the next comma or space, otherwise it swallows the parameters that follow it up to the next quote.
Class Method Summary
- .digest_authorization(username : String, password : String, method : String, uri : String, www_auth : String) : String
- .ha1(username : String, realm : String, password : String) : String
- .parse_www_authenticate(header : String) : Hash(String, String)
Class Method Detail
def self.digest_authorization(username : String, password : String, method : String, uri : String, www_auth : String) : String
#