Share via


AuthSchemeRegistry.Register(String, IAuthSchemeFactory) Method

Definition

Registers a IAuthSchemeFactory with the given identifier.

[Android.Runtime.Register("register", "(Ljava/lang/String;Lorg/apache/http/auth/AuthSchemeFactory;)V", "")]
public void Register (string? name, Org.Apache.Http.Authentication.IAuthSchemeFactory? factory);
[<Android.Runtime.Register("register", "(Ljava/lang/String;Lorg/apache/http/auth/AuthSchemeFactory;)V", "")>]
member this.Register : string * Org.Apache.Http.Authentication.IAuthSchemeFactory -> unit

Parameters

name
String

the identifier for this scheme

factory
IAuthSchemeFactory

the IAuthSchemeFactory class to register

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

  • <xref:Org.Apache.Http.Authentication.AuthSchemeRegistry.GetAuthScheme(System.String%2c+Org.Apache.Http.Params.IHttpParams)>