BasicCredentialsProvider.GetCredentials(AuthScope) Method

Definition

Finds credentials for an authentication scope.

[Android.Runtime.Register("getCredentials", "(Lorg/apache/http/auth/AuthScope;)Lorg/apache/http/auth/Credentials;", "GetGetCredentials_Lorg_apache_http_auth_AuthScope_Handler")]
public virtual 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")>]
abstract member GetCredentials : Org.Apache.Http.Authentication.AuthScope -> Org.Apache.Http.Authentication.ICredentials
override this.GetCredentials : Org.Apache.Http.Authentication.AuthScope -> Org.Apache.Http.Authentication.ICredentials

Parameters

authscope
AuthScope

The authentication scope for which to find credentials.

Returns

Credentials matching the authentication scope, or null if no matching credentials are available.

Implements

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