60件ヒット
[1-60件を表示]
(0.028秒)
別のキーワード
種類
- 特異メソッド (24)
- インスタンスメソッド (24)
- 定数 (12)
ライブラリ
-
net
/ imap (24) -
net
/ smtp (12) -
webrick
/ httpauth / authenticator (12) -
webrick
/ httpproxy (12)
クラス
-
Net
:: IMAP (24) -
Net
:: SMTP (12) -
WEBrick
:: HTTPProxyServer (12)
モジュール
キーワード
- ResponseField (12)
-
add
_ authenticator (12) - new (12)
検索結果
先頭5件
- Net
:: IMAP # authenticate(auth _ type , user , password) -> Net :: IMAP :: TaggedResponse - Net
:: SMTP # authenticate(user , secret , authtype) -> () - WEBrick
:: HTTPAuth :: ProxyAuthenticator :: ResponseField -> "Proxy-Authenticate" - WEBrick
:: HTTPProxyServer . new(config , default = WEBrick :: Config :: HTTP) -> WEBrick :: HTTPProxyServer - Net
:: IMAP . add _ authenticator(auth _ type , authenticator) -> ()
-
Net
:: IMAP # authenticate(auth _ type , user , password) -> Net :: IMAP :: TaggedResponse (18223.0) -
AUTHENTICATE コマンドを送り、クライアントを認証します。
...
AUTHENTICATE コマンドを送り、クライアントを認証します。
auth_type で利用する認証方式を文字列で指定します。
例:
imap.authenticate('LOGIN', user, password)
auth_type としては以下がサポートされています。
* "LOGIN"
* "PLAIN"
* "CRA......M-MD5"
* "DIGEST-MD5"
@param auth_type 認証方式を表す文字列
@param user ユーザ名文字列
@param password パスワード文字列
@see Net::IMAP#login... -
Net
:: SMTP # authenticate(user , secret , authtype) -> () (18201.0) -
認証を行います。
...を利用する必要はないはずです。
@param user 認証で使うアカウント名
@param secret 認証で使うパスワード
@param authtype 認証の種類(:plain, :login, :cram_md5 のいずれか)
@see Net::SMTP.start, Net::SMTP#start, Net::SMTP#auth_plain, Net::SMTP#auth_login, Net... -
WEBrick
:: HTTPAuth :: ProxyAuthenticator :: ResponseField -> "Proxy-Authenticate" (3201.0) -
レスポンスフィールドのキーの名前です。
レスポンスフィールドのキーの名前です。 -
WEBrick
:: HTTPProxyServer . new(config , default = WEBrick :: Config :: HTTP) -> WEBrick :: HTTPProxyServer (3106.0) -
プロクシオブジェクトを生成して返します。
...シュのキーとその値は WEBrick::HTTPServer.new と同じです。
それに加えて以下のキーが有効です。
: :ProxyAuthProc
プロクシ認証を行う Proc オブジェクトを指定します。この proc は
WEBrick::HTTPResponse オブジェクトと WEBric......ick::HTTPAuth::ProxyBasicAuth か
WEBrick::HTTPAuth::ProxyDigestAuth を使用します。
//emlist{
require 'webrick'
require 'webrick/httpproxy'
auth_proc = proc{|req, res|
unless c = req['proxy-authorization']
res['Proxy-Authenticate'] = 'Basic realm="WEBrick Proxy"'
raise WEBri......ck::HTTPStatus::ProxyAuthenticationRequired
else
# 略
end
}
s = WEBrick::HTTPProxyServer.new(ProxyAuthProc: auth_proc, Port: 8080)
//}
: :ProxyContentHandler
接続先の HTTP サーバからの内容を処理する Proc オブジェクトを指定します。
レスポンスの内... -
Net
:: IMAP . add _ authenticator(auth _ type , authenticator) -> () (116.0) -
Net::IMAP#authenticate で使う 認証用クラスを設定します。
...Net::IMAP#authenticate で使う
認証用クラスを設定します。
imap ライブラリに新たな認証方式を追加するために用います。
通常は使う必要はないでしょう。もしこれを用いて
認証方式を追加する場合は net/imap.rb の
Net::IMAP::LoginA......uthenticator などを参考にしてください。
@param auth_type 認証の種類(文字列)
@param authenticator 認証クラス(Class オブジェクト)...