summaryrefslogtreecommitdiff
path: root/vendor/bundle/ruby/3.4.0/gems/webrick-1.9.1/sig/httpauth/htpasswd.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/htpasswd.rbs
parent359f3309c97fc894b63e0a295c76ab298504d635 (diff)
Vendor bundled gems for deployment
Diffstat (limited to 'vendor/bundle/ruby/3.4.0/gems/webrick-1.9.1/sig/httpauth/htpasswd.rbs')
-rw-r--r--vendor/bundle/ruby/3.4.0/gems/webrick-1.9.1/sig/httpauth/htpasswd.rbs31
1 files changed, 31 insertions, 0 deletions
diff --git a/vendor/bundle/ruby/3.4.0/gems/webrick-1.9.1/sig/httpauth/htpasswd.rbs b/vendor/bundle/ruby/3.4.0/gems/webrick-1.9.1/sig/httpauth/htpasswd.rbs
new file mode 100644
index 0000000..6b4cc3e
--- /dev/null
+++ b/vendor/bundle/ruby/3.4.0/gems/webrick-1.9.1/sig/httpauth/htpasswd.rbs
@@ -0,0 +1,31 @@
+module WEBrick
+ module HTTPAuth
+ class Htpasswd
+ @path: String
+
+ @mtime: Time
+
+ @passwd: Hash[String, String]
+
+ @auth_type: String
+
+ @password_hash: (:crypt | :bcrypt)
+
+ include UserDB
+
+ def initialize: (String path, ?password_hash: (:crypt | :bcrypt)?) -> void
+
+ def reload: () -> void
+
+ def flush: (?String? output) -> void
+
+ def get_passwd: (String realm, String user, bool reload_db) -> String?
+
+ def set_passwd: (String realm, String user, String pass) -> void
+
+ def delete_passwd: (String realm, String user) -> String
+
+ def each: () { ([String, String]) -> void } -> void
+ end
+ end
+end