Udostępnij za pośrednictwem


AuthScope Constructors

Definition

Overloads

AuthScope(AuthScope)

Creates a copy of the given credentials scope.

AuthScope(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

AuthScope(String, Int32)

Creates a new credentials scope for the given host, port, any realm name, and any authentication scheme.

AuthScope(String, Int32, String)

Creates a new credentials scope for the given host, port, realm, and any authentication scheme.

AuthScope(String, Int32, String, String)

Creates a new credentials scope for the given host, port, realm, and authentication scheme.

AuthScope(AuthScope)

Creates a copy of the given credentials scope.

[Android.Runtime.Register(".ctor", "(Lorg/apache/http/auth/AuthScope;)V", "")]
public AuthScope (Org.Apache.Http.Authentication.AuthScope? authscope);
[<Android.Runtime.Register(".ctor", "(Lorg/apache/http/auth/AuthScope;)V", "")>]
new Org.Apache.Http.Authentication.AuthScope : Org.Apache.Http.Authentication.AuthScope -> Org.Apache.Http.Authentication.AuthScope

Parameters

authscope
AuthScope
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

AuthScope(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected AuthScope (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Authentication.AuthScope : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Authentication.AuthScope

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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

AuthScope(String, Int32)

Creates a new credentials scope for the given host, port, any realm name, and any authentication scheme.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")]
public AuthScope (string? host, int port);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")>]
new Org.Apache.Http.Authentication.AuthScope : string * int -> Org.Apache.Http.Authentication.AuthScope

Parameters

host
String
port
Int32
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

AuthScope(String, Int32, String)

Creates a new credentials scope for the given host, port, realm, and any authentication scheme.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILjava/lang/String;)V", "")]
public AuthScope (string? host, int port, string? realm);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILjava/lang/String;)V", "")>]
new Org.Apache.Http.Authentication.AuthScope : string * int * string -> Org.Apache.Http.Authentication.AuthScope

Parameters

host
String
port
Int32
realm
String
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

AuthScope(String, Int32, String, String)

Creates a new credentials scope for the given host, port, realm, and authentication scheme.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V", "")]
public AuthScope (string? host, int port, string? realm, string? scheme);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V", "")>]
new Org.Apache.Http.Authentication.AuthScope : string * int * string * string -> Org.Apache.Http.Authentication.AuthScope

Parameters

host
String
port
Int32
realm
String
scheme
String
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