Net_NNTP_Client::authenticate()

Net_NNTP_Client :: () – 認証を行う

Synopsis

require_once 'Net/NNTP/Client.php';

public boolean Net_NNTP_Client::authenticate ( string $$user , string $$pass [, integer $$authmode = NET_NNTP_AUTHORIGINAL ] )

Description

すでに接続が確立されている状況で、認証を行います。

Parameter

  • $user - 認証のためのユーザ名。

  • $pass - 認証のためのパスワード。

  • $authmode - 認証方法。デフォルトは NET_NNTP_AUTHORIGINAL

Return value

boolean - Returns TRUE on success, PEAR_Error on failure.

Note

This function can not be called statically.