るりまサーチ (Ruby 2.5.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.035秒)
トップページ > バージョン:2.5.0[x] > クエリ:Digest[x] > クエリ:Htdigest[x] > クエリ:DigestAuth[x]

別のキーワード

  1. openssl digest
  2. digest digest
  3. digest new
  4. digest
  5. base digest

ライブラリ

検索結果

WEBrick::HTTPAuth::DigestAuth (72211.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...