PasswordAuthentication 类

定义

PasswordAuthentication 类是 Authenticator 使用的数据持有者。

[Android.Runtime.Register("java/net/PasswordAuthentication", DoNotGenerateAcw=true)]
public sealed class PasswordAuthentication : Java.Lang.Object
[<Android.Runtime.Register("java/net/PasswordAuthentication", DoNotGenerateAcw=true)>]
type PasswordAuthentication = class
    inherit Object
继承
PasswordAuthentication
属性

注解

PasswordAuthentication 类是 Authenticator 使用的数据持有者。 它只是用户名和密码的存储库。

已在 1.2 中添加。

适用于 . 的 java.net.PasswordAuthenticationJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

构造函数

PasswordAuthentication(String, Char[])

从给定的用户名和密码创建新 PasswordAuthentication 对象。

属性

Class

返回此 Object的运行时类。

(继承自 Object)
Handle

基础 Android 实例的句柄。

(继承自 Object)
JniIdentityHashCode

PasswordAuthentication 类是 Authenticator 使用的数据持有者。

(继承自 Object)
JniPeerMembers

PasswordAuthentication 类是 Authenticator 使用的数据持有者。

PeerReference

PasswordAuthentication 类是 Authenticator 使用的数据持有者。

(继承自 Object)
ThresholdClass

此 API 支持 Mono for Android 基础结构,不打算直接从代码使用。

(继承自 Object)
ThresholdType

此 API 支持 Mono for Android 基础结构,不打算直接从代码使用。

(继承自 Object)
UserName

返回用户名。

方法

Clone()

创建并返回此对象的副本。

(继承自 Object)
Dispose()

PasswordAuthentication 类是 Authenticator 使用的数据持有者。

(继承自 Object)
Dispose(Boolean)

PasswordAuthentication 类是 Authenticator 使用的数据持有者。

(继承自 Object)
Equals(Object)

指示其他对象是否“等于”此对象。

(继承自 Object)
GetHashCode()

返回对象的哈希代码值。

(继承自 Object)
GetPassword()

返回用户密码。

JavaFinalize()

当垃圾回收确定不再引用该对象时,由对象上的垃圾回收器调用。

(继承自 Object)
Notify()

唤醒正在等待此对象的监视器的单个线程。

(继承自 Object)
NotifyAll()

唤醒正在等待此对象的监视器的所有线程。

(继承自 Object)
SetHandle(IntPtr, JniHandleOwnership)

设置 Handle 属性。

(继承自 Object)
ToArray<T>()

PasswordAuthentication 类是 Authenticator 使用的数据持有者。

(继承自 Object)
ToString()

返回对象的字符串表示形式。

(继承自 Object)
UnregisterFromRuntime()

PasswordAuthentication 类是 Authenticator 使用的数据持有者。

(继承自 Object)
Wait()

使当前线程等待,直到唤醒它,通常是通过 em 通知/em> 或 <em>interrupted</em>。<><

(继承自 Object)
Wait(Int64)

使当前线程等待直到唤醒,通常是通过 <em>通知</em> 或 <em interrupted</em>>,或直到经过一定数量的实时。

(继承自 Object)
Wait(Int64, Int32)

使当前线程等待直到唤醒,通常是通过 <em>通知</em> 或 <em interrupted</em>>,或直到经过一定数量的实时。

(继承自 Object)

显式接口实现

IJavaPeerable.Disposed()

PasswordAuthentication 类是 Authenticator 使用的数据持有者。

(继承自 Object)
IJavaPeerable.DisposeUnlessReferenced()

PasswordAuthentication 类是 Authenticator 使用的数据持有者。

(继承自 Object)
IJavaPeerable.Finalized()

PasswordAuthentication 类是 Authenticator 使用的数据持有者。

(继承自 Object)
IJavaPeerable.JniManagedPeerState

PasswordAuthentication 类是 Authenticator 使用的数据持有者。

(继承自 Object)
IJavaPeerable.SetJniIdentityHashCode(Int32)

PasswordAuthentication 类是 Authenticator 使用的数据持有者。

(继承自 Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)

PasswordAuthentication 类是 Authenticator 使用的数据持有者。

(继承自 Object)
IJavaPeerable.SetPeerReference(JniObjectReference)

PasswordAuthentication 类是 Authenticator 使用的数据持有者。

(继承自 Object)

扩展方法

JavaCast<TResult>(IJavaObject)

执行 Android 运行时检查的类型转换。

JavaCast<TResult>(IJavaObject)

PasswordAuthentication 类是 Authenticator 使用的数据持有者。

GetJniTypeName(IJavaPeerable)

PasswordAuthentication 类是 Authenticator 使用的数据持有者。

适用于