@@ -123,14 +123,16 @@ def build_auth(request, challenge)
123123 ha1 = compute_ha1 ( algorithm , challenge . fetch ( "realm" ) , nonce , cnonce )
124124 ha2 = compute_ha2 ( algorithm , String ( request . verb ) . upcase , uri )
125125
126- compute_auth_header ( algorithm , qop , nonce , cnonce , nonce_count , uri , ha1 , ha2 , challenge )
126+ compute_auth_header ( algorithm : algorithm , qop : qop , nonce : nonce , cnonce : cnonce ,
127+ nonce_count : nonce_count , uri : uri , ha1 : ha1 , ha2 : ha2 ,
128+ challenge : challenge )
127129 end
128130
129131 # Compute digest and build the Authorization header string
130132 #
131133 # @return [String] formatted authorization header
132134 # @api private
133- def compute_auth_header ( algorithm , qop , nonce , cnonce , nonce_count , uri , ha1 , ha2 , challenge ) # rubocop:disable Metrics/ParameterLists
135+ def compute_auth_header ( algorithm : , qop : , nonce : , cnonce : , nonce_count : , uri : , ha1 : , ha2 : , challenge : )
134136 response = compute_response ( algorithm , ha1 , ha2 , nonce : nonce ,
135137 nonce_count : nonce_count , cnonce : cnonce , qop : qop )
136138
0 commit comments