1件ヒット
[1-1件を表示]
(0.065秒)
ライブラリ
検索結果
-
WEBrick
:: HTTPAuth :: DigestAuth (54109.0) -
HTTP の Digest 認証のためのクラスです。
HTTP の Digest 認証のためのクラスです。
2617 も参照してください。
例:
require 'webrick'
config = { :Realm => 'DigestAuth example realm' }
htdigest = WEBrick::HTTPAuth::Htdigest.new 'my_password_file'
htdigest.set_passwd config[:Realm], 'username', 'password'
htdigest.flush
config[:UserDB] = htdigest
dige...