語言

ICredentialsProvider.GetCredentials(AuthScope) 方法

定義

取得 ICredentials 該認證範圍的

[Android.Runtime.Register("getCredentials", "(Lorg/apache/http/auth/AuthScope;)Lorg/apache/http/auth/Credentials;", "GetGetCredentials_Lorg_apache_http_auth_AuthScope_Handler:Org.Apache.Http.Client.ICredentialsProviderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.Apache.Http.Authentication.ICredentials? GetCredentials(Org.Apache.Http.Authentication.AuthScope? authscope);
[<Android.Runtime.Register("getCredentials", "(Lorg/apache/http/auth/AuthScope;)Lorg/apache/http/auth/Credentials;", "GetGetCredentials_Lorg_apache_http_auth_AuthScope_Handler:Org.Apache.Http.Client.ICredentialsProviderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetCredentials : Org.Apache.Http.Authentication.AuthScope -> Org.Apache.Http.Authentication.ICredentials

參數

authscope
AuthScope

AuthScope

傳回

認證。

屬性

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

另請參閱

  • <xref:Org.Apache.Http.Client.ICredentialsProvider.SetCredentials(Org.Apache.Http.Authentication.AuthScope%2c+Org.Apache.Http.Authentication.ICredentials)>