25 lines
539 B
Plaintext

module HTTPX
module Plugins
module Authentication
class Digest
@user: String
@password: String
def can_authenticate?: (String? authenticate) -> boolish
def authenticate: (Request request, String authenticate) -> String
private
def generate_header: (String meth, String uri, String authenticate) -> String
def initialize: (string user, string password) -> void
def make_cnonce: () -> String
def next_nonce: () -> Integer
end
end
end
end