SkyWay Unity SDK
公式APIリファレンス
|
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.
|
inline |
Initializes a new instance of the NetworkCredential class with the specified username and password.
username | A string that specifies the username associated with the credentials. |
password | A string that specifies the password for the username associated with the credentials. |
ArgumentException | username is an empty string. |
ArgumentNullException | username is null . |
|
inline |
Initializes a new instance of the NetworkCredential class with the specified username, password, domain and roles.
username | A string that specifies the username associated with the credentials. |
password | A string that specifies the password for the username associated with the credentials. |
domain | A string that specifies the domain associated with the credentials. |
roles | An array of string that specifies the roles associated with the credentials if any. |
ArgumentException | username is an empty string. |
ArgumentNullException | username is null . |
|
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
.
|
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
.
|
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
.
|
getset |
Gets the username associated with the credentials.
A string that represents the username.