ICredentialsProvider.SetCredentials(AuthScope, ICredentials) Method

Definition

Sets the ICredentials for the given authentication scope.

[Android.Runtime.Register("setCredentials", "(Lorg/apache/http/auth/AuthScope;Lorg/apache/http/auth/Credentials;)V", "GetSetCredentials_Lorg_apache_http_auth_AuthScope_Lorg_apache_http_auth_Credentials_Handler:Org.Apache.Http.Client.ICredentialsProviderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetCredentials (Org.Apache.Http.Authentication.AuthScope? authscope, Org.Apache.Http.Authentication.ICredentials? credentials);
[<Android.Runtime.Register("setCredentials", "(Lorg/apache/http/auth/AuthScope;Lorg/apache/http/auth/Credentials;)V", "GetSetCredentials_Lorg_apache_http_auth_AuthScope_Lorg_apache_http_auth_Credentials_Handler:Org.Apache.Http.Client.ICredentialsProviderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetCredentials : Org.Apache.Http.Authentication.AuthScope * Org.Apache.Http.Authentication.ICredentials -> unit

Parameters

authscope
AuthScope

the AuthScope

credentials
ICredentials

the authentication ICredentials for the given scope.

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