IAuthenticationModule.PreAuthenticate メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > IAuthenticationModule.PreAuthenticate メソッドの意味・解説 

IAuthenticationModule.PreAuthenticate メソッド

サーバーへの認証要求のために Authorization クラスインスタンス返します

名前空間: System.Net
アセンブリ: System (system.dll 内)
構文構文

Function PreAuthenticate ( _
    request As WebRequest, _
    credentials As ICredentials _
) As Authorization
Dim instance As IAuthenticationModule
Dim request As WebRequest
Dim credentials As ICredentials
Dim returnValue As Authorization

returnValue = instance.PreAuthenticate(request, credentials)
Authorization PreAuthenticate (
    WebRequest request,
    ICredentials credentials
)
Authorization^ PreAuthenticate (
    WebRequest^ request, 
    ICredentials^ credentials
)
Authorization PreAuthenticate (
    WebRequest request, 
    ICredentials credentials
)
function PreAuthenticate (
    request : WebRequest, 
    credentials : ICredentials
) : Authorization

パラメータ

request

認証要求関連付けられる WebRequest インスタンス

credentials

認証要求関連付けられる資格情報

戻り値
要求承認メッセージ格納する Authorization インスタンス

解説解説
使用例使用例

PreAuthenticate メソッド使用する方法の例を次に示します詳細については、AuthenticationManager クラストピック参照してください

' The PreAuthenticate method specifies whether the authentication implemented
 
' by this class allows pre-authentication. 
' Even if you do not use it, this method must be implemented to obey
 to the rules 
' of interface implementation.
' In this case it always returns null. 
Public Function PreAuthenticate(ByVal
 request As WebRequest, ByVal credentials
 As ICredentials) As Authorization _
    Implements IAuthenticationModule.PreAuthenticate

  Return Nothing
End Function 'PreAuthenticate

// The PreAuthenticate method specifies whether the authentication implemented
 
// by this class allows pre-authentication. 
// Even if you do not use it, this method must be implemented to obey
 to the rules 
// of interface implementation.
// In this case it always returns null. 
public Authorization PreAuthenticate(WebRequest request, ICredentials
 credentials) 
{                
  return null;
}
// The PreAuthenticate method specifies if the authentication implemented
// by this class allows pre-authentication.
// Even if you do not use it, this method must be implemented to obey
 to the rules
// of interface implemebtation.
// In this case it always returns null.
virtual Authorization^ PreAuthenticate( WebRequest^ request, ICredentials^ credentials
 )
{
   return nullptr;
}


// The PreAuthenticate method specifies whether the authentication 
// implemented  by this class allows pre-authentication. 
// Even if you do not use it, this method must be implemented to 
// obey to the rules of interface implementation.
// In this case it always returns null. 
public Authorization PreAuthenticate(WebRequest request, 
    ICredentials credentials)
{
    return null;
} //PreAuthenticate
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
IAuthenticationModule インターフェイス
IAuthenticationModule メンバ
System.Net 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からIAuthenticationModule.PreAuthenticate メソッドを検索した結果を表示しています。
Weblioに収録されているすべての辞書からIAuthenticationModule.PreAuthenticate メソッドを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からIAuthenticationModule.PreAuthenticate メソッド を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「IAuthenticationModule.PreAuthenticate メソッド」の関連用語

IAuthenticationModule.PreAuthenticate メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



IAuthenticationModule.PreAuthenticate メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS