るりまサーチ

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

別のキーワード

  1. rexml/document node_type
  2. win32ole ole_type
  3. rss type
  4. rss type=
  5. net/imap media_type

ライブラリ

キーワード

検索結果

Net::IMAP#authenticate(auth_type, user, password) -> Net::IMAP::TaggedResponse (120.0)

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::IMAP.add_authenticator(auth_type, authenticator) -> () (108.0)

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

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

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

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

@param auth_type 認証の種類(文字列)
@param authenticator 認証クラス(Class オブジェクト)...