File: authenticator.rbs

package info (click to toggle)
ruby-webrick 1.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 748 kB
  • sloc: ruby: 7,783; sh: 4; makefile: 4
file content (55 lines) | stat: -rw-r--r-- 1,043 bytes parent folder | download
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