るりまサーチ

最速Rubyリファレンスマニュアル検索!
24件ヒット [1-24件を表示] (0.009秒)
トップページ > クエリ:authenticate[x] > 種類:特異メソッド[x]

別のキーワード

  1. smtp authenticate
  2. imap authenticate
  3. net/smtp authenticate
  4. net/imap authenticate
  5. basicauth authenticate

ライブラリ

クラス

キーワード

検索結果

Net::IMAP.add_authenticator(auth_type, authenticator) -> () (17.0)

Net::IMAP#authenticate で使う 認証用クラスを設定します。

...Net::IMAP#authenticate で使う
認証用クラスを設定します。

imap ライブラリに新たな認証方式を追加するために用います。

通常は使う必要はないでしょう。もしこれを用いて
認証方式を追加する場合は net/imap.rb の
Net::IMAP::LoginA...

WEBrick::HTTPProxyServer.new(config, default = WEBrick::Config::HTTP) -> WEBrick::HTTPProxyServer (7.0)

プロクシオブジェクトを生成して返します。

...//emlist{
require 'webrick'
require 'webrick/httpproxy'
auth_proc = proc{|req, res|
unless c = req['proxy-authorization']
res['Proxy-Authenticate'] = 'Basic realm="WEBrick Proxy"'
raise WEBrick::HTTPStatus::ProxyAuthenticationRequired
else
# 略
end
}
s = WEBrick::HTTPPr...