るりまサーチ

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

別のキーワード

  1. digestauth qop
  2. digestauth new
  3. config digestauth
  4. digestauth algorithm
  5. digestauth challenge

検索結果

<< 1 2 > >>

WEBrick::Config::DigestAuth -> Hash (18123.0)

WEBrick::HTTPAuth::DigestAuth の設定のデフォルト値を保持したハッシュです。

...WEBrick::HTTPAuth::DigestAuth の設定のデフォルト値を保持したハッシュです。

require 'webrick'
WEBrick::Config::DigestAuth = {
:Algorithm => 'MD5-sess', # or 'MD5'
:Domain => nil, # an array includes domain names.
:Qop...

WEBrick::HTTPAuth::DigestAuth (18018.0)

HTTP の Digest 認証のためのクラスです。

...k'
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

サーブレ...
...しないようにしてください。デフォルトでは WEBrick はリクエストのたびにサー
ブレットのインスタンスを生成しますが、
WEBrick::HTTPAuth::DigestAuth のオブジェクトはリクエストをまたい
で利用しなければならないためです。...

WEBrick::HTTPAuth::ProxyDigestAuth (6000.0)

プロクシの Digest 認証のためのクラスです。

プロクシの Digest 認証のためのクラスです。

webrick/httpauth/digestauth (6000.0)

HTTP の Digest 認証のためのライブラリです。

HTTP の Digest 認証のためのライブラリです。

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

自身を初期化します。

...スを使用してください。

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

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

@see WEBrick::Config::DigestAuth...

絞り込み条件を変える

WEBrick::HTTPAuth::DigestAuth#algorithm -> String (3000.0)

アルゴリズムを表す文字列を返します。

アルゴリズムを表す文字列を返します。

WEBrick::HTTPAuth::DigestAuth#authenticate(request, response) -> true (3000.0)

クライアントから送られてきたユーザ名とパスワードを認証します。 認証に失敗した場合は challenge を呼びます。

クライアントから送られてきたユーザ名とパスワードを認証します。
認証に失敗した場合は challenge を呼びます。

@param request WEBrick::HTTPRequest のインスタンスを指定します。

@param response WEBrick::HTTPResponse のインスタンスを指定します。

@raise WEBrick::HTTPStatus::Unauthorized 認証に失敗した場合に発生します。

WEBrick::HTTPAuth::DigestAuth#challenge(request, response, stale = false) (3000.0)

クライアントにパスワードを要求するためにレスポンスに WWW-Authenticate ヘッダを 設定し、例外 WEBrick::HTTPStatus::Unauthorized を発生させます。

クライアントにパスワードを要求するためにレスポンスに WWW-Authenticate ヘッダを
設定し、例外 WEBrick::HTTPStatus::Unauthorized を発生させます。

@param request WEBrick::HTTPRequest のインスタンスを指定します。

@param response WEBrick::HTTPResponse のインスタンスを指定します。

@raise WEBrick::HTTPStatus::Unauthorized このメソッドを呼ぶと必ず発生します。

WEBrick::HTTPAuth::DigestAuth#qop -> String (3000.0)

Qop キーの値を返します。

Qop キーの値を返します。
<< 1 2 > >>