Udostępnij za pośrednictwem


ICredentialsProvider.GetCredentials(AuthScope) Method

Definition

Get the ICredentials for the given authentication scope.

[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

Parameters

authscope
AuthScope

the AuthScope

Returns

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also

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