11件ヒット
[1-11件を表示]
(0.030秒)
検索結果
-
WEBrick
:: HTTPAuth :: DigestAuth (27.0) -
HTTP の Digest 認証のためのクラスです。
...'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
digest_auth = WEBrick::HTTPAuth::DigestAuth.new config
サー...