るりまサーチ (Ruby 2.5.0)

最速Rubyリファレンスマニュアル検索!
8件ヒット [1-8件を表示] (0.166秒)

別のキーワード

  1. new openssl::bn
  2. new openssl::asn1::asn1data
  3. new openssl::pkey::ec::group
  4. new openssl::x509::certificate
  5. start net::smtp

検索結果

WEBrick::HTTPAuth::BasicAuth#userdb -> WEBrick::HTTPAuth::Htpasswd (81304.0)

ユーザ名とパスワードを保存した WEBrick::HTTPAuth::Htpasswd オブジェクトを返します。

ユーザ名とパスワードを保存した WEBrick::HTTPAuth::Htpasswd オブジェクトを返します。

WEBrick::HTTPAuth::BasicAuth (69037.0)

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

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



require 'webrick'
realm = "WEBrick's realm"
srv = WEBrick::HTTPServer.new({ :BindAddress => '127.0.0.1', :Port => 10080})

htpd = WEBrick::HTTPAuth::Htpasswd.new('dot.htpasswd')
htpd.set_passwd(nil, 'username', 'supersecretpass')

authenticator =...

WEBrick::HTTPAuth::BasicAuth.new(config, default = Config::BasicAuth) -> WEBrick::HTTPAuth::BasicAuth (63340.0)

BasicAuth オブジェクトを生成します。config は設定を保存したハッシュです。

BasicAuth オブジェクトを生成します。config は設定を保存したハッシュです。

config で有効なハッシュキーは以下の通りです。

:Realm =>
:UserDB =>
:Logger =>
:AutoReloadUserDB =>

realm を表す文字列 :Realm には与えます。:UserDB
には WEBrick::HTTPAuth::Htpasswd オブジェクトを与えます。:Logger には
ロガーオブジェクトを与えます。また、:AutoReloadUserDB には
WEBrick...

WEBrick::HTTPAuth::UserDB (54049.0)

WEBrick::HTTPAuth::BasicAuth, WEBrick::HTTPAuth::DigestAuth で使用しているモジュールです。

WEBrick::HTTPAuth::BasicAuth, WEBrick::HTTPAuth::DigestAuth で使用しているモジュールです。

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

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

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

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

絞り込み条件を変える

WEBrick::HTTPAuth::UserDB#make_passwd(realm, user, pass) -> String (9067.0)

WEBrick::HTTPAuth::UserDB#auth_type の make_passwd を呼び出します。

WEBrick::HTTPAuth::UserDB#auth_type の make_passwd を呼び出します。

@param realm レルムを指定します。

@param user ユーザ名を指定します。

@param pass パスワードを指定します。

@see WEBrick::HTTPAuth::BasicAuth#make_passwd, WEBrick::HTTPAuth::DigestAuth#make_passwd

WEBrick::HTTPAuth::UserDB#auth_type -> Class (9049.0)

WEBrick::HTTPAuth::BasicAuth, WEBrick::HTTPAuth::DigestAuth のいずれかを返します。

WEBrick::HTTPAuth::BasicAuth, WEBrick::HTTPAuth::DigestAuth のいずれかを返します。

WEBrick::HTTPAuth::UserDB#auth_type=(type) (9019.0)

認証のタイプをセットします。

認証のタイプをセットします。

@param type WEBrick::HTTPAuth::BasicAuth, WEBrick::HTTPAuth::DigestAuth のいずれかを指定します。