るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.067秒)

別のキーワード

  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 (121.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...