1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-15 15:53:44 +00:00

lock now button

This commit is contained in:
Kyle Spearrin
2019-05-15 15:47:50 -04:00
parent 5cf2092576
commit f7bb091366
5 changed files with 26 additions and 0 deletions

View File

@@ -7,5 +7,6 @@ namespace Bit.Core.Abstractions
Task<T> GetAsync<T>(string key);
Task RemoveAsync(string key);
Task SaveAsync<T>(string key, T obj);
Task PurgeAsync();
}
}

View File

@@ -34,5 +34,11 @@ namespace Bit.Core.Services
}
return Task.FromResult(0);
}
public Task PurgeAsync()
{
_state.Clear();
return Task.FromResult(0);
}
}
}