public Task SetAsync(string key, string value, SecAccessible accessible) { if (string.IsNullOrWhiteSpace(key)) { throw new ArgumentNullException(nameof(key)); } if (value == null) { throw new ArgumentNullException(nameof(value)); } var kc = new KeyChain(accessible); kc.SetValueForKey(value, key, Alias); return(Task.CompletedTask); }
void PlatformRemoveAll() { var kc = new KeyChain(DefaultAccessible); kc.RemoveAll(Alias); }
bool PlatformRemove(string key) { var kc = new KeyChain(DefaultAccessible); return(kc.Remove(key, Alias)); }