Sprache

BasicCredentialsProvider.SetCredentials(AuthScope, ICredentials) Methode

Definition

Ordnet Anmeldeinformationen einem Authentifizierungsbereich zu.

[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

Parameter

authscope
AuthScope

Der Authentifizierungsbereich, der den Anmeldeinformationen zugeordnet werden soll.

credentials
ICredentials

Die Anmeldeinformationen, die dem Authentifizierungsbereich zugeordnet werden sollen.

Implementiert

Attribute

Hinweise

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die vom Android Open Source-Projekt erstellt und freigegeben werden und gemäß den in der Creative Commons 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für: