Struct Login
User and password field for the Unity editor.
Namespace: sttz.Trimmer.Editor
Assembly: Trimmer-Editor.dll
Syntax
[Serializable]
public struct Login
Remarks
See Password for more details.
The login field allows the user to specify a user name together with the password. In this case, the user name must not be set using the KeychainAttribute (only the service name).
Properties
| Improve this Doc View SourcePlaintextPassword
The plaintext password if sttz.Trimmer.Editor.Login.useKeychain is false.
Declaration
public string PlaintextPassword { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
UseKeychain
Wether to use Keychain or store the password in plaintext.
Declaration
public bool UseKeychain { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
User
The username.
Declaration
public string User { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
| Improve this Doc View SourceGetPassword(String)
Use this method to retrieve the password based on where it's stored.
Declaration
public string GetPassword(string service)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | service |
Returns
| Type | Description |
|---|---|
| System.String |