語言

DigestScheme.Authenticate(ICredentials, IHttpRequest) 方法

定義

為當前挑戰建立 Digest 認證-回應標頭。

[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")]
public override 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")>]
override this.Authenticate : Org.Apache.Http.Authentication.ICredentials * Org.Apache.Http.IHttpRequest -> Org.Apache.Http.IHeader

參數

credentials
ICredentials

用於摘要認證的憑證。

request
IHttpRequest

HTTP 請求接收認證-回應標頭。

傳回

一個摘要認證-回應標頭。

屬性

備註

本文件部分內容源自 Apache HTTP 元件,由 Apache 軟體基金會開發,並依 授權。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於