summaryrefslogtreecommitdiff
path: root/vendor/bundle/ruby/3.4.0/gems/webrick-1.9.1/sig/httpauth/basicauth.rbs
diff options
context:
space:
mode:
authorBenjamin Sanders <ben@Benjamins-MacBook-Pro.local>2025-10-11 10:34:24 -0400
committerBenjamin Sanders <ben@Benjamins-MacBook-Pro.local>2025-10-11 10:34:24 -0400
commit5571dc766e2143e39762ff0b47c41d1c2e154f4c (patch)
treef4f124d314a7e76c04484515aa0fd1f2e271a601 /vendor/bundle/ruby/3.4.0/gems/webrick-1.9.1/sig/httpauth/basicauth.rbs
parent359f3309c97fc894b63e0a295c76ab298504d635 (diff)
Vendor bundled gems for deployment
Diffstat (limited to 'vendor/bundle/ruby/3.4.0/gems/webrick-1.9.1/sig/httpauth/basicauth.rbs')
-rw-r--r--vendor/bundle/ruby/3.4.0/gems/webrick-1.9.1/sig/httpauth/basicauth.rbs29
1 files changed, 29 insertions, 0 deletions
diff --git a/vendor/bundle/ruby/3.4.0/gems/webrick-1.9.1/sig/httpauth/basicauth.rbs b/vendor/bundle/ruby/3.4.0/gems/webrick-1.9.1/sig/httpauth/basicauth.rbs
new file mode 100644
index 0000000..4eb41df
--- /dev/null
+++ b/vendor/bundle/ruby/3.4.0/gems/webrick-1.9.1/sig/httpauth/basicauth.rbs
@@ -0,0 +1,29 @@
+module WEBrick
+ module HTTPAuth
+ class BasicAuth
+ @config: Hash[Symbol, untyped]
+
+ include Authenticator
+
+ AuthScheme: String
+
+ def self.make_passwd: (String? realm, String? user, String? pass) -> String
+
+ attr_reader realm: String?
+
+ attr_reader userdb: UserDB
+
+ attr_reader logger: Log
+
+ def initialize: (Hash[Symbol, untyped] config, ?Hash[Symbol, untyped] default) -> void
+
+ def authenticate: (HTTPRequest req, HTTPResponse res) -> void
+
+ def challenge: (HTTPRequest req, HTTPResponse res) -> bot
+ end
+
+ class ProxyBasicAuth < BasicAuth
+ include ProxyAuthenticator
+ end
+ end
+end