BasicCredentialsProvider.SetCredentials(AuthScope, ICredentials) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Associates credentials with an 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")]
public virtual 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")>]
abstract member SetCredentials : Org.Apache.Http.Authentication.AuthScope * Org.Apache.Http.Authentication.ICredentials -> unit
override this.SetCredentials : Org.Apache.Http.Authentication.AuthScope * Org.Apache.Http.Authentication.ICredentials -> unit
Parameters
- authscope
- AuthScope
The authentication scope to associate with the credentials.
- credentials
- ICredentials
The credentials to associate with the authentication scope.
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.