BasicCredentialsProvider.SetCredentials(AuthScope, ICredentials) Método

Definición

Asocia las credenciales a un ámbito de autenticación.

[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

Parámetros

authscope
AuthScope

Ámbito de autenticación que se va a asociar a las credenciales.

credentials
ICredentials

Credenciales que se van a asociar al ámbito de autenticación.

Implementaciones

Atributos

Comentarios

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a