るりまサーチ

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

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. fileutils cp_r
  5. fileutils rm_r

ライブラリ

キーワード

検索結果

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

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

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

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

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

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

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

AUTHENTICATE コマンドを送り、クライアントを認証します。

...

auth_type
で利用する認証方式を文字列で指定します。


例:
imap.authenticate('LOGIN', user, password)

auth_type
としては以下がサポートされています。
* "LOGIN"
* "PLAIN"
* "CRAM-MD5"
* "DIGEST-MD5"

@param auth_type 認証方式を表す文字列
@par...
...am user ユーザ名文字列
@param password パスワード文字列
@see Net::IMAP#login...