summaryrefslogtreecommitdiff
path: root/vendor/bundle/ruby/3.4.0/gems/webrick-1.9.1/sig/httpauth/authenticator.rbs
blob: fe94762b9572f9c3a9504ce3430d5ff01c762757 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
module WEBrick
  module HTTPAuth
    module Authenticator
      @reload_db: bool?

      @request_field: String

      @response_field: String

      @resp_info_field: String

      @auth_exception: singleton(HTTPStatus::ClientError)

      @auth_scheme: String

      RequestField: String

      ResponseField: String

      ResponseInfoField: String

      AuthException: singleton(HTTPStatus::ClientError)

      AuthScheme: String?

      attr_reader realm: String?

      attr_reader userdb: UserDB

      attr_reader logger: Log

      private

      def check_init: (Hash[Symbol, untyped] config) -> void

      def check_scheme: (HTTPRequest req) -> String?

      def log: (interned meth, String fmt, *untyped args) -> void

      def error: (String fmt, *untyped args) -> void

      def info: (String fmt, *untyped args) -> void
    end

    module ProxyAuthenticator
      RequestField: String

      ResponseField: String

      ResponseInfoField: String

      AuthException: singleton(HTTPStatus::ClientError)
    end
  end
end