public NodeAuth(NodeAuthType type, string username, string secret) { Type = type; Secret = secret; UserName = username; }
public NodeAuth(NodeAuthType type, string secret) : this(type, DefaultUserName, secret) { }