语言

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

返回

凭据。

属性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

另请参阅

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