module

ShellyplugExporter::Gen::Helper::DigestAuthHelper

Constants

PARAM_PATTERN = /(\w+)\s*=\s*(?:"([^"]*)"|([^,\s]+))/

Matches key="quoted value" and bare key=value pairs. 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 methods

digest_authorization(username : String, password : String, method : String, uri : String, www_auth : String) : String
Source
ha1(username : String, realm : String, password : String) : String
Source
parse_www_authenticate(header : String) : Hash(String, String)
Source