るりまサーチ

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

別のキーワード

  1. pop auth_only
  2. pop3 auth_only
  3. net/pop auth_only
  4. cgi auth_type
  5. userdb auth_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 オブジェクト)...