Libation 4.0 prep: Add legacy settings-file support. Move AudibleApiStorage
This commit is contained in:
parent
e1299331cc
commit
e0406378cb
4 changed files with 18 additions and 3 deletions
|
|
@ -1,26 +0,0 @@
|
|||
using Newtonsoft.Json;
|
||||
using System.IO;
|
||||
|
||||
namespace FileManager
|
||||
{
|
||||
public static class AudibleApiStorage
|
||||
{
|
||||
public static string AccountsSettingsFile => Path.Combine(Configuration.Instance.LibationFiles, "AccountsSettings.json");
|
||||
|
||||
public static string GetJsonPath(
|
||||
//string username
|
||||
////, string locale
|
||||
)
|
||||
{
|
||||
return null;
|
||||
|
||||
|
||||
//var usernameSanitized = JsonConvert.ToString(username);
|
||||
|
||||
////var localeSanitized = JsonConvert.ToString(locale);
|
||||
////return $"$.AccountsSettings[?(@.Username == '{usernameSanitized}' && @.IdentityTokens.Locale == '{localeSanitized}')].IdentityTokens";
|
||||
|
||||
//return $"$.AccountsSettings[?(@.Username == '{usernameSanitized}')].IdentityTokens";
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue