るりまサーチ (Ruby 2.6.0)

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

別のキーワード

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

検索結果

WEBrick::HTTPAuth::Authenticator#userdb -> WEBrick::HTTPAuth::Htpasswd | WEBrick::HTTPAuth::Htdigest (54604.0)

認証のためのユーザデータベースを返します。

認証のためのユーザデータベースを返します。

@see WEBrick::HTTPAuth::BasicAuth, WEBrick::HTTPAuth::Htdigest

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

WEBrick::HTTPAuth::DigestAuth.new(config, default = WEBrick::Config::DigestAuth) -> WEBrick::HTTPAuth::DigestAuth (9619.0)

自身を初期化します。

自身を初期化します。

認証を実行するために、リクエスト間で状態を保存し、複数のリクエストに対
して同一のインスタンスを使用してください。

@param config 設定を保持しているハッシュを指定します。
:Realm と :UserDB は必ず指定しなければなりません。

@param default デフォルトは WEBrick::Config::DigestAuth です。

@see WEBrick::Config::DigestAuth