5件ヒット
[1-5件を表示]
(0.028秒)
別のキーワード
種類
- 特異メソッド (2)
- インスタンスメソッド (2)
- 定数 (1)
ライブラリ
-
net
/ imap (2) -
net
/ smtp (1) -
webrick
/ httpauth / authenticator (1) -
webrick
/ httpproxy (1)
クラス
-
Net
:: IMAP (2) -
Net
:: SMTP (1) -
WEBrick
:: HTTPProxyServer (1)
モジュール
キーワード
- ResponseField (1)
-
add
_ authenticator (1) - new (1)
検索結果
先頭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 (54670.0) -
AUTHENTICATE コマンドを送り、クライアントを認証します。
AUTHENTICATE コマンドを送り、クライアントを認証します。
auth_type で利用する認証方式を文字列で指定します。
例:
imap.authenticate('LOGIN', user, password)
auth_type としては以下がサポートされています。
* "LOGIN"
* "PLAIN"
* "CRAM-MD5"
* "DIGEST-MD5"
@param auth_type 認証方式を表す文字列
@param user ユーザ名文字列
@param password パスワード文字列
@see Net::IMAP#login -
Net
:: SMTP # authenticate(user , secret , authtype) -> () (54604.0) -
認証を行います。
認証を行います。
このメソッドはセッション開始(Net::SMTP#start)後、
メールを送る前に呼びだしてください。
通常は Net::SMTP.start や Net::SMTP#start で認証を
行うためこれを利用する必要はないはずです。
@param user 認証で使うアカウント名
@param secret 認証で使うパスワード
@param authtype 認証の種類(:plain, :login, :cram_md5 のいずれか)
@see Net::SMTP.start, Net::SMTP#start, Net::SMTP#auth_plain, Net:... -
WEBrick
:: HTTPAuth :: ProxyAuthenticator :: ResponseField -> "Proxy-Authenticate" (9604.0) -
レスポンスフィールドのキーの名前です。
レスポンスフィールドのキーの名前です。 -
WEBrick
:: HTTPProxyServer . new(config , default = WEBrick :: Config :: HTTP) -> WEBrick :: HTTPProxyServer (9319.0) -
プロクシオブジェクトを生成して返します。
プロクシオブジェクトを生成して返します。
@param config 設定を保存したハッシュを指定します。
設定として有効なハッシュのキーとその値は WEBrick::HTTPServer.new と同じです。
それに加えて以下のキーが有効です。
: :ProxyAuthProc
プロクシ認証を行う Proc オブジェクトを指定します。この proc は
WEBrick::HTTPResponse オブジェクトと WEBrick::HTTPRequest オブジェクトを引数として
proc.call(req, res) ... -
Net
:: IMAP . add _ authenticator(auth _ type , authenticator) -> () (349.0) -
Net::IMAP#authenticate で使う 認証用クラスを設定します。
Net::IMAP#authenticate で使う
認証用クラスを設定します。
imap ライブラリに新たな認証方式を追加するために用います。
通常は使う必要はないでしょう。もしこれを用いて
認証方式を追加する場合は net/imap.rb の
Net::IMAP::LoginAuthenticator などを参考にしてください。
@param auth_type 認証の種類(文字列)
@param authenticator 認証クラス(Class オブジェクト)