共用方式為


AuthProvider Class

Definition

Legacy security code; do not use.

[Android.Runtime.Register("java/security/AuthProvider", DoNotGenerateAcw=true)]
public abstract class AuthProvider : Java.Security.Provider
[<Android.Runtime.Register("java/security/AuthProvider", DoNotGenerateAcw=true)>]
type AuthProvider = class
    inherit Provider
Inheritance
Attributes

Remarks

Legacy security code; do not use.

Java documentation for java.security.AuthProvider.

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.

Constructors

AuthProvider(IntPtr, JniHandleOwnership)

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

AuthProvider(String, Double, String)

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
Defaults

A property list that contains default values for any keys not found in this property list.

(Inherited from Properties)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
Info

Returns a human-readable description of the provider and its services.

(Inherited from Provider)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
Name

Returns the name of this provider.

(Inherited from Provider)
PeerReference (Inherited from Object)
Services

Get an unmodifiable Set of all services supported by this Provider.

(Inherited from Provider)
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Version

Returns the version number for this provider.

(Inherited from Provider)

Methods

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
Compute(Object, IBiFunction)

Attempts to compute a mapping for the specified key and its current mapped value (or null if there is no current mapping).

(Inherited from Provider)
ComputeIfAbsent(Object, IFunction)

If the specified key is not already associated with a value (or is mapped to null), attempts to compute its value using the given mapping function and enters it into this map unless null.

(Inherited from Provider)
ComputeIfPresent(Object, IBiFunction)

If the value for the specified key is present and non-null, attempts to compute a new mapping given the key and its current mapped value.

(Inherited from Provider)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
ForEach(IBiConsumer)

Added in 1.

(Inherited from Provider)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetOrDefault(Object, Object)

Added in 1.

(Inherited from Provider)
GetProperty(String, String)

Searches for the property with the specified key in this property list.

(Inherited from Properties)
GetProperty(String)

Searches for the property with the specified key in this property list.

(Inherited from Properties)
GetService(String, String)

Get the service describing this Provider's implementation of the specified type of this algorithm or alias.

(Inherited from Provider)
JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
List(PrintStream)

Prints this property list out to the specified output stream.

(Inherited from Properties)
List(PrintWriter)

Prints this property list out to the specified output stream.

(Inherited from Properties)
Load(Reader)

Reads a property list (key and element pairs) from the input character stream in a simple line-oriented format.

(Inherited from Properties)
Load(Stream)

Reads a property list (key and element pairs) from the input byte stream.

(Inherited from Properties)
LoadFromXML(Stream)

Loads all of the properties represented by the XML document on the specified input stream into this properties table.

(Inherited from Properties)
Login(Subject, ICallbackHandler)
Logout()
Merge(Object, Object, IBiFunction)

If the specified key is not already associated with a value or is associated with null, associates it with the given value.

(Inherited from Provider)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
PropertyNames()

Returns an enumeration of all the keys in this property list, including distinct keys in the default property list if a key of the same name has not already been found from the main properties list.

(Inherited from Properties)
Put(Object, Object)

Sets the key property to have the specified value.

(Inherited from Provider)
PutAll(IDictionary<Object,Object>)

Copies all of the mappings from the specified Map to this provider.

(Inherited from Provider)
PutIfAbsent(Object, Object)

If the specified key is not already associated with a value (or is mapped to null) associates it with the given value and returns null, else returns the current value.

(Inherited from Provider)
PutService(Provider+Service)

Add a service.

(Inherited from Provider)
RemoveService(Provider+Service)

Remove a service previously added using #putService putService().

(Inherited from Provider)
Replace(Object, Object, Object)

Replaces the entry for the specified key only if currently mapped to the specified value.

(Inherited from Provider)
Replace(Object, Object)

Replaces the entry for the specified key only if it is currently mapped to some value.

(Inherited from Provider)
ReplaceAll(IBiFunction)

Replaces each entry's value with the result of invoking the given function on that entry, in the order entries are returned by an entry set iterator, until all entries have been processed or the function throws an exception.

(Inherited from Provider)
Save(Stream, String)
Obsolete.

Calls the store(OutputStream out, String comments) method and suppresses IOExceptions that were thrown.

(Inherited from Properties)
SetCallbackHandler(ICallbackHandler)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetProperty(String, String)

Calls the Hashtable method put.

(Inherited from Properties)
Store(Stream, String)

Writes this property list (key and element pairs) in this Properties table to the output stream in a format suitable for loading into a Properties table using the #load(InputStream) load(InputStream) method.

(Inherited from Properties)
Store(Writer, String)

Writes this property list (key and element pairs) in this Properties table to the output character stream in a format suitable for using the #load(java.io.Reader) load(Reader) method.

(Inherited from Properties)
StoreToXML(Stream, String, String)

Emits an XML document representing all of the properties contained in this table, using the specified encoding.

(Inherited from Properties)
StoreToXML(Stream, String)

Emits an XML document representing all of the properties contained in this table.

(Inherited from Properties)
StringPropertyNames()

Returns a set of keys in this property list where the key and its corresponding value are strings, including distinct keys in the default property list if a key of the same name has not already been found from the main properties list.

(Inherited from Properties)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to