るりまサーチ

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

別のキーワード

  1. _builtin new
  2. _builtin inspect
  3. _builtin []
  4. _builtin to_s
  5. _builtin each

ライブラリ

クラス

検索結果

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

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

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

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


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

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

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

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

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

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

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

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

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