Java.Net.Authenticator Members

The members of Java.Net.Authenticator are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Protected Constructors

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

Protected Properties

[read-only]
PasswordAuthenticationPasswordAuthentication. Returns the collected username and password for authorization.
[read-only]
RequestingHoststring. Returns the host name of the connection that requests authentication or null if unknown.
[read-only]
RequestingPortint. Returns the port of the connection that requests authorization.
[read-only]
RequestingPromptstring. Returns the realm (prompt string) of the connection that requests authorization.
[read-only]
RequestingProtocolstring. Returns the protocol of the connection that requests authorization.
[read-only]
RequestingSchemestring. Returns the scheme of the connection that requests authorization, for example HTTP Basic Authentication.
[read-only]
RequestingSiteInetAddress. Returns the address of the connection that requests authorization or null if unknown.
[read-only]
RequestingURLURL. Returns the URL of the authentication request.
[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

static
RequestPasswordAuthentication(InetAddress, int, string, string, string) : PasswordAuthentication
Invokes the methods of the registered authenticator to get the authentication info.
static
RequestPasswordAuthentication(string, InetAddress, int, string, string, string) : PasswordAuthentication
Invokes the methods of the registered authenticator to get the authentication info.
static
RequestPasswordAuthentication(string, InetAddress, int, string, string, string, URL, Authenticator.RequestorType) : PasswordAuthentication
Invokes the methods of the registered authenticator to get the authentication info.
static
SetDefault(Authenticator)
Sets a as the default authenticator.

Protected Methods

GetRequestorType() : Authenticator.RequestorType
Returns the type of this request, it can be PROXY or SERVER.