Show / Hide Table of Contents

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 Source

PlaintextPassword

The plaintext password if sttz.Trimmer.Editor.Login.useKeychain is false.

Declaration
public string PlaintextPassword { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

UseKeychain

Wether to use Keychain or store the password in plaintext.

Declaration
public bool UseKeychain { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

User

The username.

Declaration
public string User { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

GetPassword(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
  • Improve this Doc
  • View Source
Back to top © 2017 Adrian Stutz