av激情亚洲男人的天堂国语,日韩欧美精品一中文字幕,无码av一区二区三区无码,国产又色又爽又刺激的a片,国产又色又爽又刺激的a片

創(chuàng)新互聯(lián)鴻蒙OS教程:鴻蒙OSPasswordAuthentication

PasswordAuthentication

java.lang.Object

|---java.net.PasswordAuthentication

public final class PasswordAuthentication
extends Object

PasswordAuthentication 類是 Authenticator 使用的數(shù)據(jù)持有者。 它只是用戶名和密碼的存儲庫。

構(gòu)造函數(shù)摘要

構(gòu)造函數(shù) 描述
PasswordAuthentication(String userName, char[] password) 從給定的用戶名和密碼創(chuàng)建一個新的 PasswordAuthentication 對象。

方法總結(jié)

修飾符和類型 方法 描述
char[] getPassword() 返回用戶密碼。
String getUserName() 返回用戶名。
從類 java.lang.Object 繼承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

構(gòu)造函數(shù)詳細信息

PasswordAuthentication

public PasswordAuthentication(String userName, char[] password)

從給定的用戶名和密碼創(chuàng)建一個新的 PasswordAuthentication 對象。

請注意,給定的用戶密碼在存儲到新的 PasswordAuthentication 對象之前會被克隆。

參數(shù):

參數(shù)名稱 參數(shù)描述
userName 用戶名
password 用戶密碼

方法詳情

getUserName

public String getUserName()

返回用戶名。

返回:

用戶名

getPassword

public char[] getPassword()

返回用戶密碼。

請注意,此方法返回對密碼的引用。 調(diào)用者有責(zé)任在不再需要密碼信息后將其清零。

返回:

密碼


分享名稱:創(chuàng)新互聯(lián)鴻蒙OS教程:鴻蒙OSPasswordAuthentication
轉(zhuǎn)載來于:http://uogjgqi.cn/article/dpijogi.html
掃二維碼與項目經(jīng)理溝通

我們在微信上24小時期待你的聲音

解答本文疑問/技術(shù)咨詢/運營咨詢/技術(shù)建議/互聯(lián)網(wǎng)交流