SkyWay Unity SDK
公式APIリファレンス
読み取り中…
検索中…
一致する文字列を見つけられません
WebSocketSharp.Net.NetworkCredential クラス

Provides the credentials for the password-based authentication. [詳解]

公開メンバ関数

 NetworkCredential (string username, string password)
 Initializes a new instance of the NetworkCredential class with the specified username and password.
 
 NetworkCredential (string username, string password, string domain, params string[] roles)
 Initializes a new instance of the NetworkCredential class with the specified username, password, domain and roles.
 

プロパティ

string Domain [get, set]
 Gets the domain associated with the credentials.
 
string Password [get, set]
 Gets the password for the username associated with the credentials.
 
string[] Roles [get, set]
 Gets the roles associated with the credentials.
 
string Username [get, set]
 Gets the username associated with the credentials.
 

詳解

Provides the credentials for the password-based authentication.

構築子と解体子

◆ NetworkCredential() [1/2]

WebSocketSharp.Net.NetworkCredential.NetworkCredential ( string username,
string password )
inline

Initializes a new instance of the NetworkCredential class with the specified username and password.

引数
usernameA string that specifies the username associated with the credentials.
passwordA string that specifies the password for the username associated with the credentials.
例外
ArgumentExceptionusername is an empty string.
ArgumentNullExceptionusername is null.

◆ NetworkCredential() [2/2]

WebSocketSharp.Net.NetworkCredential.NetworkCredential ( string username,
string password,
string domain,
params string[] roles )
inline

Initializes a new instance of the NetworkCredential class with the specified username, password, domain and roles.

引数
usernameA string that specifies the username associated with the credentials.
passwordA string that specifies the password for the username associated with the credentials.
domainA string that specifies the domain associated with the credentials.
rolesAn array of string that specifies the roles associated with the credentials if any.
例外
ArgumentExceptionusername is an empty string.
ArgumentNullExceptionusername is null.

プロパティ詳解

◆ Domain

string WebSocketSharp.Net.NetworkCredential.Domain
getset

Gets the domain associated with the credentials.

A string that represents the domain name to which the username belongs.

An empty string if the value was initialized with null.

◆ Password

string WebSocketSharp.Net.NetworkCredential.Password
getset

Gets the password for the username associated with the credentials.

A string that represents the password.

An empty string if the value was initialized with null.

◆ Roles

string [] WebSocketSharp.Net.NetworkCredential.Roles
getset

Gets the roles associated with the credentials.

An array of string that represents the role names to which the username belongs.

An empty array if the value was initialized with null.

◆ Username

string WebSocketSharp.Net.NetworkCredential.Username
getset

Gets the username associated with the credentials.

A string that represents the username.


このクラス詳解は次のファイルから抽出されました: