IAuthScheme.Authenticate(ICredentials, IHttpRequest) メソッド

定義

指定した のセット ICredentialsの承認文字列を生成します。

[Android.Runtime.Register("authenticate", "(Lorg/apache/http/auth/Credentials;Lorg/apache/http/HttpRequest;)Lorg/apache/http/Header;", "GetAuthenticate_Lorg_apache_http_auth_Credentials_Lorg_apache_http_HttpRequest_Handler:Org.Apache.Http.Authentication.IAuthSchemeInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.Apache.Http.IHeader? Authenticate (Org.Apache.Http.Authentication.ICredentials? credentials, Org.Apache.Http.IHttpRequest? request);
[<Android.Runtime.Register("authenticate", "(Lorg/apache/http/auth/Credentials;Lorg/apache/http/HttpRequest;)Lorg/apache/http/Header;", "GetAuthenticate_Lorg_apache_http_auth_Credentials_Lorg_apache_http_HttpRequest_Handler:Org.Apache.Http.Authentication.IAuthSchemeInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Authenticate : Org.Apache.Http.Authentication.ICredentials * Org.Apache.Http.IHttpRequest -> Org.Apache.Http.IHeader

パラメーター

credentials
ICredentials

情報の取得に使用する資格情報のセット

request
IHttpRequest

認証されている要求

戻り値

属性

例外

認証エラーが原因で承認文字列を生成できない場合

注釈

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象